/* Gart SMP — shared styles. Warm "brass & andesite" palette nodding to Create. */
:root {
  --bg:        #15110c;
  --bg-2:      #1e1811;
  --panel:     #241d15;
  --panel-2:   #2c2318;
  --line:      #3a2f21;
  --text:      #f2e9dc;
  --muted:     #b6a892;
  --dim:       #8a7c68;
  --brass:     #e0a458;
  --brass-2:   #c8791f;
  --copper:    #d97742;
  --green:     #7bc86c;
  --red:       #e0685f;
  --radius:    14px;
  --maxw:      880px;
  --shadow:    0 10px 40px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, #2a2015 0%, transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--brass-2); text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(21,17,12,.82);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .3px; color: var(--text); }
.brand .cog { width: 26px; height: 26px; color: var(--brass); animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav nav { margin-left: auto; display: flex; gap: 18px; font-weight: 600; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--brass); text-decoration: none; }

/* Hero */
.hero { padding: 64px 0 34px; text-align: center; }
.hero h1 { font-size: clamp(38px, 8vw, 68px); margin: 0 0 6px; letter-spacing: -1px;
  background: linear-gradient(180deg, #ffe9c9, var(--brass)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tag { color: var(--muted); font-size: clamp(16px, 3vw, 20px); margin: 0 auto 26px; max-width: 560px; }

/* Status pill */
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); box-shadow: 0 0 0 0 rgba(0,0,0,0); }
.dot.online { background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2s infinite; }
.dot.offline { background: var(--red); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

/* Address box */
.address { margin: 26px auto 8px; max-width: 460px; display: flex; align-items: stretch; gap: 8px; }
.address code { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 20px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .5px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; color: #ffe9c9; }
.btn { cursor: pointer; border: 1px solid var(--line); background: var(--panel-2); color: var(--text);
  border-radius: 12px; padding: 0 18px; font-weight: 700; font-size: 15px; transition: .15s; white-space: nowrap; display: inline-flex; align-items: center; }
.btn:hover { border-color: var(--brass); color: var(--brass); }
.btn.primary { background: linear-gradient(180deg, var(--brass), var(--brass-2)); color: #1a130a; border: none; padding: 14px 26px; font-size: 16px; }
.btn.primary:hover { filter: brightness(1.07); color: #1a130a; text-decoration: none; }
.cta { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 40px 0; }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; }
.card .k { color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.card .v { font-size: 20px; font-weight: 800; margin-top: 6px; color: #ffe9c9; }
.card .v small { display:block; font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 3px; }

/* Sections */
section.block { margin: 50px 0; }
section.block h2 { font-size: 26px; margin: 0 0 8px; }
section.block p.lead { color: var(--muted); margin-top: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 20px 68px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: linear-gradient(180deg, var(--brass), var(--brass-2)); color: #1a130a; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p, .step ul { margin: 6px 0; color: var(--muted); }
.step code, code.inline { background: #120e09; border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px;
  font: 600 14px ui-monospace, Menlo, Consolas, monospace; color: #ffe0b0; }
kbd { background: var(--panel-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px;
  padding: 1px 6px; font: 600 13px ui-monospace, monospace; }

/* Download rows */
.dl { display: grid; gap: 12px; }
.dlrow { display: flex; align-items: center; gap: 16px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; flex-wrap: wrap; }
.dlrow .meta { flex: 1; min-width: 200px; }
.dlrow .meta .name { font-weight: 800; font-size: 17px; color: #ffe9c9; }
.dlrow .meta .sub { color: var(--muted); font-size: 13px; }
.dlrow .meta .hash { color: var(--dim); font-size: 11px; font-family: ui-monospace, monospace; word-break: break-all; }

.note { background: var(--panel-2); border-left: 3px solid var(--brass); border-radius: 8px; padding: 12px 16px; color: var(--muted); margin: 16px 0; }
.note strong { color: var(--text); }
.warn { border-left-color: var(--copper); }

footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 30px 0 50px; color: var(--dim); font-size: 13px; text-align: center; }
footer a { color: var(--muted); }

hr.sep { border: none; border-top: 1px solid var(--line); margin: 30px 0; }
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  background: var(--brass); color: #1a130a; font-weight: 700; padding: 10px 18px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
