:root {
  --bg: #1a0f0a;
  --bg2: #2a1710;
  --bg3: #3d2216;
  --copper: #b87333;
  --brass: #c18f4a;
  --text: #faefe4;
  --muted: #caa98a;
  --ring: #c18f4a66;
  --border: #553825;
  --title-size: clamp(36px, 8vw, 64px);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 14px/1.6 Inter, sans-serif;
  background:
    radial-gradient(90vw 60vw at 90% -10%, #b8733322, transparent 65%),
    radial-gradient(80vw 60vw at 10% 10%, #7a4b2a22, transparent 60%),
    linear-gradient(180deg, var(--bg3), var(--bg2) 35%, var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
}
.wrap { width: min(980px, 100%); display: grid; justify-items: center; text-align: center; gap: 22px; }
.brand { display:flex; flex-direction:column; align-items:center; gap:16px; position:relative; }
.badge {
  height: 80px;
  width: 80px;
  display: grid; place-items: center;
  border-radius: 20%;
  background: conic-gradient(from 200deg, #b87333, #c18f4a, #b87333);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35) inset, 0 4px 12px rgba(0,0,0,.35);
  margin-bottom: 12px; /* padding between logo and title */
}
.badge svg { width: 70%; height: 70%; fill: var(--bg); color: var(--bg); }
.title {
  margin:0;
  font-size: var(--title-size);
  line-height: 1;
  font-family:'Luckiest Guy', cursive;
  text-shadow:0 2px 4px rgba(0,0,0,.35),0 8px 28px rgba(193,143,74,.15);
  position:relative;
  display:inline-block;
}
.tag {
  position:absolute;
  top:-30px;
  left: calc(100% - 15px);
  white-space: nowrap;
  transform: rotate(10deg);
  transform-origin: left center;
  font-family: Inter, sans-serif; /* ensure not the title font */
  font-size:12px;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  background:var(--bg2);
}
.intro { color: var(--muted); max-width: 63.5ch; margin: 0 auto; }
.install { margin-top:18px; padding-top:12px; border-top:1px dashed var(--border); }
.install-label {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 8px;
}
.terminal {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 8px;
  background: #2a1710;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.copy-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background .2s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}
.copy-btn:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.copy-btn svg { width:16px; height:16px; fill: currentColor; }
.badges { display:flex; gap:12px; justify-content:center; margin-top:22px; border-top:1px dashed var(--border); padding-top:22px; }
.badges img { height: 20px; }

.is-hidden { display: none !important; }
.toggle-clickable { cursor: pointer; }
.badge-img {
  height: 80px;
  width: 80px;
  display: inline-block;
}
.title-img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
.title-visual { position: relative; display: inline-block; }

.oni-ribbon {
  position: fixed;
  top: 39px;
  right: -194px; /* pull inwards to reveal ribbon */
  transform: rotate(45deg);
  transform-origin: center;
  background: #fff;
  color: #111;
  padding: 6px 180px; /* long so ends are offscreen */
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 7px; /* smaller text */
  line-height: 1.2;
  font-family: "Merriweather Sans", ui-sans-serif, -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0; /* avoid visible edge lines */
  border-radius: 0;
  cursor: pointer;
}
.oni-ribbon-text { white-space: nowrap; }
.oni-ribbon-logo {
  display: inline-block;
  height: 14px; /* match reduced text */
  width: auto;
  vertical-align: middle;
}
