/* Additions to the original Astra look (style.css) for the free site's own pages. */

.page-head { padding-top: 90px; margin-bottom: 34px; }
.page-head h1 { font-size: 56px; line-height: 1.08; letter-spacing: -2px; margin: 14px 0 16px; }
.page-head > p:not(.eyebrow) { color: var(--muted); max-width: 640px; font-size: 16px; }

/* Download & setup */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.download-card { border: 1px solid var(--line); border-radius: 12px; padding: 32px; background: linear-gradient(135deg, #111b28, #0c121b); display: flex; flex-direction: column; gap: 14px; }
.download-card h2 { margin: 2px 0 4px; font-size: 22px; }
.download-card .eyebrow { margin: 0; }
.download-card p { margin: 0; color: var(--muted); font-size: 14px; }
.download-card .button { align-self: flex-start; margin-top: 6px; }
.command { margin: 0; padding: 16px 18px; border: 1px solid #26394a; border-radius: 8px; background: #070b11; color: #bfe0ff; font: 13px/1.5 "Cascadia Mono", Consolas, ui-monospace, monospace; overflow-x: auto; white-space: pre; }
.fine { color: #738398 !important; font-size: 12px !important; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px; background: linear-gradient(135deg, #111b28, #0c121b); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: #57b3ff; font-size: 11px; letter-spacing: 2px; font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin: 0 0 8px; font-size: 16px; }
.steps p { margin: 0; color: var(--muted); font-size: 13.5px; }
.guide h2 { font-size: 30px; margin: 0 0 22px; letter-spacing: -.5px; }
.guide > .fine { margin-top: 18px; }
.guide code { color: #bfe0ff; }

/* FAQ and policies: a readable column on a wide page */
.faq-list { max-width: 860px; }
.policy-card { max-width: 860px; }
.policy-card h3 { margin-top: 26px; }
.policy-card p, .policy-card li { color: var(--muted); font-size: 14.5px; }
.policy-nav { margin: 24px 0 8px; justify-content: flex-start; }
.page-head a, .policy-card a { color: #70baff; }
.policy-nav a:hover { color: var(--blue); }

/* Shown only until the first stable release (download.html). */
.notice-page { padding: 120px 0 80px; max-width: 760px; }
.notice-page h1 { font-size: 44px; letter-spacing: -1.5px; line-height: 1.1; margin: 14px 0 16px; }
.notice-page p { color: var(--muted); }

@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) {
  .downloads, .steps { grid-template-columns: 1fr; }
  .page-head { padding-top: 56px; }
  .page-head h1 { font-size: 40px; }
}

.final-cta .actions { justify-content: center; }

/* A sharp space background drawn in CSS (no image), so it stays crisp on any screen. */
body { background: #050a14; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(55% 45% at 88% -6%, #1d55a14d, transparent 70%),
    radial-gradient(45% 40% at -4% 104%, #1c3f8a40, transparent 70%),
    radial-gradient(35% 30% at 55% 58%, #3b2c8a1c, transparent 70%),
    radial-gradient(120% 80% at 50% 120%, #0a1a3366, transparent 60%),
    linear-gradient(180deg, #081226 0%, #050a14 55%, #04070f 100%);
}
.space-motion::after { opacity: .55; }

/* The top: a floating glass bar instead of a full-width strip. */
header { position: sticky; top: 0; z-index: 20; padding: 14px 0 0; background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; }
header nav.wrap { height: 64px; padding: 0 12px 0 20px; border: 1px solid #ffffff14; border-radius: 16px; background: linear-gradient(180deg, #0e1a2cdd, #0a1322e6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 14px 44px #00000059, inset 0 1px 0 #ffffff0f; }
header .navlinks { gap: 4px; font-size: 13.5px; }
header .navlinks a { padding: 8px 14px; border-radius: 10px; color: #a9b9cc; }
header .navlinks a:hover { background: #ffffff0a; color: #e6f1ff; }
header .navlinks a[aria-current="page"] { background: #16304f; color: #d6ebff; box-shadow: inset 0 0 0 1px #2c5b8c; }
header .button.small { border-radius: 11px; background: linear-gradient(180deg, #2a9fff, #1b7fe0); border-color: #3aa8ff; color: #fff; }
header .button.small:hover { background: linear-gradient(180deg, #3aa8ff, #2389ea); }
.brand img { box-shadow: 0 0 18px #2a9fff33; }
@media (max-width: 800px) { header { padding-top: 8px; } header nav.wrap { height: auto; padding: 10px 12px; border-radius: 14px; } }

/* Centered page heads, FAQ and policies. */
.page-head { text-align: center; }
.page-head > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.page-head .eyebrow { justify-content: center; }
.faq-list, .policy-card { margin-left: auto; margin-right: auto; }
.policy-nav { justify-content: center !important; }
.notice-page { margin: 0 auto; text-align: center; }
.notice-page .actions { justify-content: center; }
