/* Shared across the hub and every product page. Adding a product should mean
   writing content, not restyling. */

:root {
  --bg: #0d0f14;
  --panel: #16191f;
  --panel-2: #1c2029;
  --line: #262b35;
  --text: #eef2f7;
  --muted: #98a3b3;
  --accent: #78c3ff;
  --accent-dim: #2a6b9e;
  --amber: #ffc46e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ------------------------------------------------------------------ header */
header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0;
  background: rgba(13,15,20,.88);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.bar { display: flex; align-items: center; gap: 12px; height: 64px; }
.bar img { width: 30px; height: 30px; border-radius: 6px; }
.bar .name { font-weight: 700; letter-spacing: .2px; }
.bar .name a { color: var(--text); }
.bar .crumb { color: var(--muted); font-weight: 400; }
.bar .spacer { flex: 1; }
.bar nav a { color: var(--muted); margin-left: 22px; font-size: 14.5px; }
.bar nav a:hover { color: var(--text); text-decoration: none; }
.bar nav a.nav-cta {
  color: #08121c; background: var(--accent); font-weight: 600;
  padding: 8px 16px; border-radius: 7px;
  white-space: nowrap;          /* never let the button wrap to two lines */
}
.bar nav a.nav-cta:hover { background: #96d1ff; color: #08121c; }
@media (max-width: 760px) { .bar nav a:not(.nav-cta) { display: none; } }
/* Below this the site name and the button compete for the same row. */
@media (max-width: 560px) { .bar .crumb { display: none; } }

/* -------------------------------------------------------------------- hero */
.hero { padding: 84px 0 72px; display: grid; grid-template-columns: 1fr 260px; gap: 56px; align-items: center; }
.hero.solo { grid-template-columns: 1fr; max-width: 780px; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; padding: 56px 0 48px; } .hero .art { order: -1; } }

.eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent-dim); border-radius: 100px;
  padding: 5px 14px; margin-bottom: 22px;
}
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.8px; }
h1 .grad {
  background: linear-gradient(100deg, var(--accent), #b9e0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 19px; color: var(--muted); margin: 0 0 32px; max-width: 36em; }
.hero-note { color: var(--muted); font-size: 14.5px; margin: 16px 0 0; }
.art img { width: 100%; border-radius: 18px; border: 1px solid var(--line); display: block; }

/* ----------------------------------------------------------------- buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 9px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .12s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #08121c; }
.btn.primary:hover { background: #96d1ff; }
.btn.ghost { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn.ghost:hover { border-color: var(--accent-dim); }
.btn.big { padding: 16px 30px; font-size: 16px; }

/* ---------------------------------------------------------------- sections */
section { padding: 68px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 12px; letter-spacing: -.4px; }
.sub { color: var(--muted); margin: 0 0 40px; max-width: 46em; }

.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .g3, .g2 { grid-template-columns: 1fr; } }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 17.5px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step { font-size: 12px; letter-spacing: 1.4px; color: var(--accent); font-weight: 700; margin-bottom: 12px; }

.feat { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feat:last-child { border-bottom: 0; }
.feat .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: 10px; flex: none; }
.feat h4 { margin: 0 0 4px; font-size: 16px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td:first-child { color: var(--muted); width: 230px; }
tr:last-child td { border-bottom: 0; }

.note {
  background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0; padding: 18px 22px; color: var(--muted); font-size: 15px; margin-top: 28px;
}

/* ----------------------------------------------------------- product cards */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 880px) { .products { grid-template-columns: 1fr; } }

.product {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px; display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.product:hover { border-color: var(--accent-dim); transform: translateY(-2px); text-decoration: none; }
.product .top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.product .top img { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line); }
.product h3 { margin: 0; font-size: 20px; color: var(--text); }
.product .kind { font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.product p { color: var(--muted); margin: 0 0 20px; font-size: 15px; flex: 1; }
.product .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.product .tags span {
  font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 4px 11px;
}
.product .go { color: var(--accent); font-weight: 600; font-size: 15px; }

/* -------------------------------------------------------------- download */
.dl { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 40px; }
.dl-top { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.dl-top img { width: 78px; height: 78px; border-radius: 14px; border: 1px solid var(--line); }
.dl-top .who { flex: 1; min-width: 240px; }
.dl-top h3 { margin: 0 0 4px; font-size: 20px; }
.dl-top p { margin: 0; color: var(--muted); font-size: 15px; }

.meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
@media (max-width: 780px) { .meta { grid-template-columns: 1fr; } }
.meta div { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.meta .k { font-size: 12px; letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); }
.meta .v { font-size: 15px; margin-top: 3px; }

.hash { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; word-break: break-all; color: var(--muted); margin-top: 22px; }
.hash strong { color: var(--text); font-family: inherit; }

/* Two build options side by side. */
.builds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 780px) { .builds { grid-template-columns: 1fr; } }

.build {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px;
  display: flex; flex-direction: column;
}
.build .bhead { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.build h4 { margin: 0; font-size: 17px; }
.build .tag {
  font-size: 11px; letter-spacing: .8px; text-transform: uppercase;
  color: #08121c; background: var(--accent);
  padding: 3px 9px; border-radius: 100px; font-weight: 700;
}
.build .tag.alt { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.build p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; flex: 1; }
.build .btn { align-self: flex-start; }
.build .hash { margin-top: 16px; font-size: 11px; }

/* ------------------------------------------------------------------- cta */
.cta { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 44px; text-align: center; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--muted); max-width: 42em; margin: 0 auto 28px; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--muted); font-size: 14.5px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.foot .spacer { flex: 1; }
.foot img { width: 26px; height: 26px; border-radius: 5px; }
.legal { margin-top: 18px; font-size: 13px; opacity: .6; }
