/* pqch.org: static, no JavaScript, no external resources.
   Look: deep black, a translucent "cube in a cube" mark, rows of small glowing outline shapes
   (circles, squares, triangles, hexagons) receding in perspective, warm/cool accents. */
:root {
  --bg: #07080d;
  --bg-2: #0c0e16;
  --card: #10131d;
  --line: #22263a;
  --text: #ebecf3;
  --muted: #a1a6bd;
  --orange: #fb923c;
  --magenta: #e879f9;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --accent: #8b9cff;
  --warn-text: #fbbf6a;
  --radius: 10px;
  --max: 1100px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #7ee7f7; text-decoration: underline; }
strong { font-weight: 600; color: #fff; }
code { font-family: var(--mono); font-size: .88em; background: #151827; border: 1px solid var(--line); border-radius: 5px; padding: .05em .4em; color: #d9dcf0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; position: relative; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(7, 8, 13, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 21px; letter-spacing: .6px; }
.brand:hover { color: #fff; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
nav.main { display: flex; gap: 24px; margin-left: auto; font-size: 15.5px; }
nav.main a { color: var(--muted); font-weight: 500; }
nav.main a:hover { color: #fff; text-decoration: none; }
.lang { font-size: 14px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 9px; }

/* hero: rows of shapes receding in perspective, fading towards the edges */
.hero { position: relative; overflow: hidden; padding: 96px 0 92px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: -40% -30%;
  background: url("pattern.svg") repeat;
  background-size: 480px 160px;
  transform: perspective(900px) rotateY(-28deg) rotateX(8deg) scale(1.15);
  opacity: .55;
  /* stronger behind the cube, almost gone behind the text */
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.06) 30%, rgba(0,0,0,.5) 52%, #000 70%, rgba(0,0,0,.6) 92%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.06) 30%, rgba(0,0,0,.5) 52%, #000 70%, rgba(0,0,0,.6) 92%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 380px at 72% 50%, rgba(139, 92, 246, .22), transparent 70%),
              radial-gradient(420px 300px at 80% 60%, rgba(251, 146, 60, .12), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; z-index: 1; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--warn-text); border: 1px solid rgba(251, 191, 106, .35); background: rgba(251, 191, 106, .08); border-radius: 999px; padding: 3px 12px; margin-bottom: 22px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--warn-text); box-shadow: 0 0 8px var(--warn-text); }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0 0 20px; font-weight: 750; letter-spacing: -.5px; }
h1 .grad { background: linear-gradient(90deg, var(--orange), var(--magenta) 45%, var(--violet) 70%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 600px; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 16px; border: 1px solid #343a55; color: #fff; background: rgba(255, 255, 255, .03); }
.btn:hover { text-decoration: none; color: #fff; border-color: #59608a; background: rgba(255, 255, 255, .06); }
.btn.primary { background: linear-gradient(90deg, #f97316, #db2777 50%, #7c3aed); border: 0; padding: 13px 23px; box-shadow: 0 6px 24px rgba(219, 39, 119, .3); }
.btn.primary:hover { filter: brightness(1.1); }
.hero-art { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 0 30px rgba(139, 92, 246, .45)) drop-shadow(0 0 60px rgba(34, 211, 238, .15)); }

/* sections */
section { padding: 76px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 35px); margin: 0 0 12px; font-weight: 700; letter-spacing: -.3px; }
.kicker { font-weight: 700; font-size: 13px; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 8px; background: linear-gradient(90deg, var(--orange), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.intro { color: var(--muted); max-width: 740px; margin: 0 0 36px; }
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s; }
.card:hover { border-color: #3a4063; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
/* each feature card gets one of the accent colours, like the coloured rows of shapes */
.card .icon { min-width: 42px; height: 32px; padding: 0 8px; border-radius: 6px; display: inline-grid; place-items: center; margin-bottom: 14px; font-weight: 700; font-family: var(--mono); font-size: 13px; border: 1px solid currentColor; color: var(--cyan); background: rgba(34, 211, 238, .07); }
.grid.c3 .card:nth-child(6n+1) .icon { color: var(--cyan); background: rgba(34, 211, 238, .07); }
.grid.c3 .card:nth-child(6n+2) .icon { color: var(--violet); background: rgba(139, 92, 246, .09); }
.grid.c3 .card:nth-child(6n+3) .icon { color: var(--magenta); background: rgba(232, 121, 249, .08); }
.grid.c3 .card:nth-child(6n+4) .icon { color: var(--orange); background: rgba(251, 146, 60, .08); }
.grid.c3 .card:nth-child(6n+5) .icon { color: #84cc16; background: rgba(132, 204, 22, .08); }
.grid.c3 .card:nth-child(6n+6) .icon { color: #38bdf8; background: rgba(56, 189, 248, .08); }

/* specs */
table.specs { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.specs th, table.specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs tr:last-child th, table.specs tr:last-child td { border-bottom: 0; }
table.specs th { color: var(--muted); font-weight: 500; width: 36%; }

/* steps */
ol.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 16px; }
ol.steps > li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 22px 78px; }
ol.steps > li::before { content: counter(s); position: absolute; left: 22px; top: 20px; width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f97316, #db2777 55%, #7c3aed); }
ol.steps h3 { margin: 0 0 6px; font-size: 18px; }
ol.steps p, ol.steps ul { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
details { margin-top: 12px; }
summary { cursor: pointer; color: var(--cyan); font-size: 15px; font-weight: 500; }
pre { background: #05060a; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; overflow-x: auto; font: 14px/1.55 var(--mono); color: #d9dcf0; }

.callout { border: 1px solid rgba(251, 191, 106, .35); border-left: 4px solid var(--warn-text); background: rgba(251, 191, 106, .06); border-radius: var(--radius); padding: 18px 24px; margin-top: 24px; }
.callout h3 { margin: 0 0 8px; font-size: 17px; color: var(--warn-text); }
.callout ul { margin: 0; padding-left: 20px; font-size: 15.5px; }

/* downloads */
.dl { display: flex; flex-direction: column; gap: 8px; }
.dl .os { font-weight: 700; font-size: 18px; }
.dl .meta { color: var(--muted); font-size: 14.5px; }
.dl .soon { margin-top: auto; align-self: flex-start; font-size: 14px; color: var(--muted); border: 1px dashed #3a4063; border-radius: 6px; padding: 5px 12px; }
.meta { color: var(--muted); font-size: 14.5px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 54px; color: var(--muted); font-size: 14.5px; background: #05060a; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }
footer a:hover { color: #fff; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 180px; order: -1; justify-self: start; }
  .grid.c3, .grid.c4 { grid-template-columns: 1fr 1fr; }
  nav.main a.opt { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid.c3, .grid.c4, .grid.c2 { grid-template-columns: 1fr; }
  nav.main { gap: 14px; }
  nav.main a.opt2 { display: none; }
  .hero { padding: 40px 0 52px; }
  .hero-art { max-width: 120px; }
  .hero::before { opacity: .22; }
  section { padding: 52px 0; }
  ol.steps > li { padding: 68px 18px 20px; }
  ol.steps > li::before { left: 18px; top: 18px; }
  table.specs th { width: 45%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
