/* InviteBot blog — light Tilda continuation (not a dark mini-site) */
.ib-blog{
  margin:0;
  font-family:Roboto,Arial,sans-serif;
  font-weight:400;
  background:#fff;
  color:#222;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
.ib-wrap{max-width:960px;margin:0 auto;padding:0 24px;box-sizing:border-box}
a{color:inherit}

/* ---- sticky Tilda t456 echo ---- */
.ib-top{
  position:sticky;top:0;z-index:40;
  background:rgba(237,238,240,1);
  box-shadow:0 1px 3px rgba(0,0,0,.35);
}
.ib-top-inner{
  max-width:1200px;margin:0 auto;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:64px;padding:8px 20px;flex-wrap:wrap;
}
.ib-logo{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.ib-logo img{display:block;height:36px;width:auto;max-width:180px}
.ib-menu-toggle{position:absolute;opacity:0;pointer-events:none}
.ib-burger{
  display:none;width:28px;height:20px;position:relative;cursor:pointer;
  margin-left:auto;flex:0 0 28px;
}
.ib-burger span,.ib-burger span:before,.ib-burger span:after{
  position:absolute;left:0;width:28px;height:2px;background:#111;border-radius:1px;
  transition:transform .25s ease,opacity .2s ease,top .25s ease;
}
.ib-burger span{top:9px}
.ib-burger span:before,.ib-burger span:after{content:""}
.ib-burger span:before{top:-8px}
.ib-burger span:after{top:8px}
.ib-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:4px 4px}
.ib-nav a{
  color:#ababab;text-decoration:none;font-size:14px;font-weight:400;
  padding:8px 10px;border-radius:4px;
  transition:color .3s ease-in-out,opacity .3s ease-in-out,background .25s ease;
}
.ib-nav a:hover{color:#000}
.ib-nav a.is-active{
  color:#000;font-weight:700;
  box-shadow:inset 0 -2px 0 #ffd014;
}
.ib-cta{
  background:#ffd014;color:#000!important;font-weight:500!important;
  padding:8px 18px!important;border-radius:50px;margin-left:6px;
  box-shadow:none;
  transition:transform .25s ease,box-shadow .25s ease,filter .25s ease!important;
}
.ib-cta:hover{
  color:#000!important;filter:brightness(.97);
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(255,208,20,.45);
}

/* ---- cover: lighter echo of landing 100vh hero ---- */
.ib-cover{
  position:relative;color:#fff;
  min-height:220px;display:flex;align-items:flex-end;
  background-color:#5c5348;
  background-image:url("/InviteBotPRO.jpg"),url("https://static.tildacdn.com/tild3432-3635-4235-b338-336637316136/__.jpg");
  background-position:center 42%,center 42%;
  background-size:cover,cover;
  background-repeat:no-repeat,no-repeat;
}
.ib-cover:before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.42));
}
.ib-cover-inner{position:relative;z-index:1;padding:56px 24px 40px;width:100%}
.ib-cover h1{
  margin:0 0 12px;font-size:40px;line-height:1.2;font-weight:700;color:#fff;
  letter-spacing:-.02em;
}
.ib-cover p{margin:0;font-size:18px;line-height:1.5;font-weight:300;color:rgba(255,255,255,.92);max-width:640px}
.ib-cover--article{min-height:180px;align-items:flex-end}
.ib-cover--article h1{font-size:32px;max-width:860px}
.ib-back{margin:0 0 12px;font-size:14px}
.ib-back a{color:rgba(255,255,255,.88);text-decoration:none;border-bottom:1px solid rgba(255,208,20,.7);padding-bottom:1px;transition:color .2s ease,border-color .2s ease}
.ib-back a:hover{color:#ffd014;border-color:#ffd014}
.ib-cover .ib-meta{color:rgba(255,255,255,.78);margin:14px 0 0}

/* ---- listing cards ---- */
.ib-list{padding:36px 0 80px}
.ib-card{
  display:block;text-decoration:none;color:inherit;
  background:#fff;border:1px solid #e6e8ec;border-radius:12px;
  padding:26px 28px;margin:0 0 18px;
  box-shadow:0 1px 3px rgba(0,0,0,.05);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
  animation:ib-rise .5s ease both;
}
.ib-card:nth-child(1){animation-delay:.04s}
.ib-card:nth-child(2){animation-delay:.1s}
.ib-card:nth-child(3){animation-delay:.16s}
.ib-card:nth-child(4){animation-delay:.22s}
.ib-card:nth-child(5){animation-delay:.28s}
.ib-card:hover{
  transform:translateY(-5px);
  border-color:#ffd014;
  box-shadow:0 14px 32px rgba(17,17,17,.1);
}
.ib-card h2{
  margin:0 0 8px;font-size:22px;line-height:1.3;font-weight:700;color:#111;
  transition:color .25s ease;
}
.ib-card:hover h2{color:#111}
.ib-card p{margin:0;color:#555;font-weight:300;font-size:16px}
.ib-meta{display:flex;gap:16px;flex-wrap:wrap;color:#8a8f97;font-size:13px;margin:12px 0 0}

/* ---- article ---- */
.ib-article{padding:36px 0 80px}
.ib-content h2{font-size:24px;line-height:1.25;font-weight:600;color:#111;margin:36px 0 12px}
.ib-content h3{font-size:18px;font-weight:600;color:#111;margin:26px 0 10px}
.ib-content p{margin:0 0 14px;color:#333;font-size:17px}
.ib-content ul{margin:0 0 16px;padding-left:22px}
.ib-content li{margin:0 0 8px;color:#333}
.ib-content a{color:#ff8562;text-decoration:none;border-bottom:1px solid rgba(255,133,98,.45);transition:border-color .2s ease,color .2s ease}
.ib-content a:hover{color:#e56a48;border-color:#ffd014}
.ib-content code{background:#f4f5f7;padding:1px 6px;border-radius:4px;font-size:.95em;color:#111}
.ib-content strong{font-weight:700}

/* ---- footer: landing #171717 ---- */
.ib-foot{
  background:#171717;color:#fff;padding:36px 0 40px;font-size:13px;line-height:1.55;
}
.ib-foot a{color:#fff;text-decoration:none;transition:color .25s ease}
.ib-foot a:hover{color:#ffd014}
.ib-foot p{margin:0 0 8px}
.ib-foot-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:16px 0 0;opacity:.9}

@keyframes ib-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){
  .ib-card,.ib-cta,.ib-nav a{animation:none;transition:none}
  .ib-card:hover{transform:none}
}

@media (max-width:980px){
  .ib-burger{display:block}
  .ib-nav{
    display:none;flex-basis:100%;flex-direction:column;align-items:stretch;
    padding:8px 0 16px;gap:2px;
  }
  .ib-menu-toggle:checked ~ .ib-nav{display:flex}
  .ib-menu-toggle:checked + .ib-burger span{background:transparent}
  .ib-menu-toggle:checked + .ib-burger span:before{top:0;transform:rotate(45deg)}
  .ib-menu-toggle:checked + .ib-burger span:after{top:0;transform:rotate(-45deg)}
  .ib-cta{margin:8px 0 0;text-align:center}
  .ib-cover h1{font-size:28px}
  .ib-cover--article h1{font-size:24px}
  .ib-cover p{font-size:16px}
  .ib-card{padding:20px}
}
@media (max-width:640px){
  .ib-logo img{height:30px}
  .ib-cover{min-height:200px}
  .ib-cover-inner{padding:40px 20px 28px}
}
