
:root{
  --bg:#ffffff;
  --ink:#111111;
  --muted:#6b6b6b;
  --border:#111111;
  --red:#e10600;
  --blue:#0b4dff; /* NoChords blue placeholder */
  --maxw: 1100px;
  --pad: 18px;
  --header-h: 86px;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;}
a{color:inherit;text-decoration:none;}
.page{min-height:100vh;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--pad);}

.header{
  position:sticky; top:0; z-index:50;
  background:var(--bg);
  border-bottom:1px solid rgba(0,0,0,.12);
}
.header-inner{
  height:var(--header-h);
  display:flex; align-items:center; gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 64px;
}
.brand img{
  height: calc(var(--header-h) - 20px); /* within 10px top/bottom */
  width:auto;
  display:block;
}
.site-title{
  flex:1;
  text-align:center;
  font-weight:900;
  letter-spacing:.02em;
  line-height:1.0;
  /* +50% bump (kept responsive) */
  font-size: clamp(18px, 3.2vw, 44px);
}
.site-title .tm{
  font-weight:400;
  font-size:.55em;
  vertical-align:super;
  opacity:.75;
  margin-left:.15em;
}
.menu{
  position:relative;
  display:flex; align-items:center; justify-content:flex-end;
  min-width: 64px;
}
.hamburger{
  width:56px;height:56px;
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  border-radius:12px;
  display:grid; place-items:center;
  cursor:pointer;
}
.hamburger:focus{outline:2px solid rgba(0,0,0,.25); outline-offset:2px;}
.hamburger .bars{width:22px;}
.hamburger .bars span{
  display:block;height:2px;background:var(--ink);margin:5px 0;border-radius:1px;
}

.dropdown{
  position:absolute;
  top: calc(56px + 10px);
  right: 0;
  width: 220px;
  background:#fff;
  border:1px solid rgba(0,0,0,.18);
  border-radius:12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  padding:10px;
  display:none;
}
.dropdown.open{display:block; animation:drop .14s ease-out;}
@keyframes drop{
  from{opacity:0; transform: translateY(-6px);}
  to{opacity:1; transform: translateY(0);}
}
.dropdown a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  font-weight:650;
}
.dropdown a:hover{background:rgba(0,0,0,.06);}
.dropdown a.disabled{
  opacity:.45;
  pointer-events:none;
}

.main{padding: 26px 0 60px;}
.hero{
  margin-top: 18px;
  text-align:center;
}
.hero h1{
  margin: 0 0 18px;
  font-weight: 700; /* unbold-ish compared to prior */
  letter-spacing:.01em;
  font-size: clamp(34px, 6vw, 86px);
  line-height: .98;
}
.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 14px;
}
.card{
  border:2px solid var(--border);
  height: 220px;
  background:#fff;
}

@media (min-width: 860px){
  .cards{grid-template-columns: repeat(3, 1fr);}
  .card{height: 170px;}
  .main{padding-top: 16px;}
}

/* Demo pages */
.demo{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px var(--pad) 70px;
}
.demo h2{
  margin: 10px 0 18px;
  font-size: clamp(26px, 4.2vw, 56px);
  line-height:1.0;
  font-weight: 800;
}
.demo .box{
  border:2px solid var(--border);
  padding:18px;
  border-radius:12px;
}
.demo textarea{
  width:100%;
  min-height: 340px;
  padding:14px;
  border:2px solid var(--border);
  border-radius:12px;
  font: 18px/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.controls{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 12px;
}
.btn{
  border:2px solid var(--border);
  background:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-weight:750;
  cursor:pointer;
}
.btn.primary{background:var(--ink); color:#fff;}
.btn[disabled]{opacity:.45; cursor:not-allowed;}
.next-row{
  display:flex; justify-content:flex-end;
  margin-top: 18px;
}
.note{
  color:var(--muted);
  font-size: 14px;
  line-height:1.35;
  margin-top:10px;
}
.rights-row{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
}
label.rights{
  display:flex; align-items:center; gap:10px;
  font-weight:750;
}
label.rights input{width:20px;height:20px;}
.rights-help{
  position:relative;
  display:inline-block;
}
.rights-help .tip{
  display:none;
  position:absolute;
  top: 28px;
  left: 0;
  background:#fff;
  border:1px solid rgba(0,0,0,.2);
  border-radius:10px;
  padding:10px 12px;
  width: 250px;
  box-shadow: 0 12px 24px rgba(0,0,0,.10);
  font-size: 14px;
  line-height:1.25;
}
.rights-help:hover .tip{display:block;}
.rights-help a{color:var(--blue); text-decoration:underline;}
.lyrics{
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.35;
  font-weight: 650;
}
.red{color:var(--red); font-weight:800;}
.blue{color:var(--blue); font-weight:800;}
