:root{
  --bg:#111111;
  --bg-raised:#181818;
  --bg-card:#1c1c1c;
  --border:#2a2a2a;
  --accent:#D85A30;
  --accent-hover:#ea6c40;
  --text:#E8E6E0;
  --text-dim:#9a978f;
  --text-faint:#5f5d57;
}

*{box-sizing:border-box;margin:0;padding:0;}

body{
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  padding:48px 20px 80px;
}

.wrap{max-width:960px;margin:0 auto;}

.eyebrow{
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--accent);
  font-weight:600;
  margin-bottom:14px;
}

h1{
  font-family:'Sora',-apple-system,sans-serif;
  font-size:clamp(28px,5vw,40px);
  font-weight:700;
  letter-spacing:-0.02em;
  line-height:1.1;
  margin-bottom:12px;
}

.lede{
  color:var(--text-dim);
  font-size:15px;
  line-height:1.6;
  max-width:600px;
  margin-bottom:20px;
}

.breakpoint-badge{
  display:inline-block;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.04em;
  color:var(--accent);
  border:1px solid var(--border);
  padding:6px 14px;
  border-radius:100px;
  margin-bottom:44px;
}

.block{margin-bottom:60px;}

.block h2{
  font-family:'Sora',-apple-system,sans-serif;
  font-size:20px;
  font-weight:700;
  margin-bottom:8px;
}

.block-desc{
  color:var(--text-dim);
  font-size:13px;
  line-height:1.5;
  margin-bottom:20px;
  max-width:560px;
}

.block-desc code{
  background:var(--bg-raised);
  border:1px solid var(--border);
  padding:1px 6px;
  border-radius:4px;
  font-size:12px;
}

/* auto-reflow grid demo */
.reflow-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
  gap:10px;
}

.reflow-item{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:8px;
  height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:var(--text-dim);
  font-size:14px;
  transition:border-color .15s ease;
}

.reflow-item:hover{border-color:var(--accent);color:var(--text);}

/* toggle buttons shared by pricing + nav */
.toggle-row{
  display:flex;
  gap:8px;
  margin-bottom:20px;
}

.toggle-btn{
  background:none;
  border:1px solid var(--border);
  color:var(--text-dim);
  font-size:12px;
  font-weight:600;
  padding:8px 16px;
  border-radius:100px;
  cursor:pointer;
}

.toggle-btn.active{
  border-color:var(--accent);
  color:var(--accent);
  background:rgba(216,90,48,0.08);
}

/* pricing cards - vanilla version */
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}

.price-card{
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:10px;
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:16px;
  position:relative;
}

.price-card.featured{border-color:var(--accent);}

.price-tier{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.1em;
  color:var(--text-dim);
  font-weight:700;
}

.price-amount{
  font-size:30px;
  font-weight:700;
}

.price-amount span{
  font-size:13px;
  color:var(--text-dim);
  font-weight:400;
}

.price-features{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:var(--text-dim);
  font-size:13px;
  flex-grow:1;
}

.price-btn{
  background:transparent;
  border:1px solid var(--accent);
  color:var(--accent);
  font-weight:700;
  font-size:13px;
  padding:10px;
  border-radius:6px;
  cursor:pointer;
  transition:background .15s ease, color .15s ease;
}

.price-card.featured .price-btn{
  background:var(--accent);
  color:#111;
}

.price-btn:hover{background:var(--accent);color:#111;}

/* nav bar demo - vanilla version */
.demo-nav{
  display:flex;
  flex-direction:column;
  gap:12px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:10px;
  padding:16px 20px;
}

.demo-nav-logo{font-weight:700;}

.demo-nav-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:14px;
}

.demo-nav-links a{
  color:var(--text-dim);
  text-decoration:none;
}

.demo-nav-links a:hover{color:var(--accent);}

@media (min-width:640px){
  .demo-nav{flex-direction:row;align-items:center;justify-content:space-between;}
  .demo-nav-links{flex-direction:row;gap:28px;}
}

footer{
  margin-top:50px;
  padding-top:20px;
  border-top:1px solid var(--border);
  font-size:12px;
  color:var(--text-faint);
  text-align:center;
}
