/* Motownart — custom design (distinct from unixcd.com) */
:root{
  --bg: #0b1220;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.09);
  --text: #e9eefc;
  --muted: rgba(233,238,252,0.78);
  --muted2: rgba(233,238,252,0.62);
  --line: rgba(233,238,252,0.14);
  --accent: #7c5cff;
  --accent2:#3ce6c1;
  --danger:#ff5c7a;
  --shadow: 0 18px 60px rgba(0,0,0,0.55);
  --radius: 16px;
  --radius2: 22px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background:
    radial-gradient(1000px 600px at 10% 10%, rgba(124,92,255,0.25), transparent 60%),
    radial-gradient(900px 600px at 90% 15%, rgba(60,230,193,0.18), transparent 55%),
    radial-gradient(900px 700px at 60% 90%, rgba(255,92,122,0.12), transparent 60%),
    linear-gradient(180deg, #070b14, #0b1220 20%, #0b1220);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:0.92}

.container{max-width:var(--max); margin:0 auto; padding:0 18px}

.top-strip{
  border-bottom:1px solid var(--line);
  background: rgba(7,11,20,0.65);
  backdrop-filter: blur(14px);
}
.top-strip .inner{
  display:flex; gap:14px; justify-content:space-between; align-items:center;
  padding:10px 0;
  color:var(--muted2);
  font-size:13px;
}
.top-strip .links a{color:var(--muted); margin-left:10px}

.site-header{
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--line);
  background: rgba(11,18,32,0.62);
  backdrop-filter: blur(16px);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:0.3px;
}
.brand-badge{
  width:34px; height:34px; border-radius:12px;
  background:
    radial-gradient(14px 14px at 30% 35%, rgba(255,255,255,0.9), rgba(255,255,255,0) 70%),
    linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px rgba(124,92,255,0.25);
}
.brand span{color:var(--accent2)}

.nav{
  display:flex; gap:14px; align-items:center;
}
.nav a{
  padding:9px 10px;
  border-radius:12px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.nav a:hover{background:rgba(255,255,255,0.06); color:var(--text)}
.nav .cta{
  padding:10px 12px;
  background:linear-gradient(135deg, var(--accent), #5a8bff);
  color:white;
  box-shadow: 0 14px 40px rgba(124,92,255,0.25);
}
.nav .cta:hover{opacity:0.96}
.burger{
  display:none;
  width:44px; height:40px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,0.06);
  color:var(--text);
}
.burger span{
  display:block; width:18px; height:2px; background:var(--text);
  margin:5px auto;
  border-radius:999px;
}

@media (max-width: 920px){
  .nav{display:none}
  .nav.open{
    display:flex;
    position:absolute;
    top:64px; right:18px;
    flex-direction:column;
    min-width: 240px;
    border:1px solid var(--line);
    background: rgba(7,11,20,0.92);
    backdrop-filter: blur(16px);
    padding:10px;
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .burger{display:block}
}

.hero{
  padding:28px 0 10px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap:16px;
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
}

.feature{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.feature:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(420px 180px at 18% 0%, rgba(124,92,255,0.35), transparent 60%),
    radial-gradient(380px 180px at 92% 10%, rgba(60,230,193,0.25), transparent 55%);
  opacity:0.45;
  pointer-events:none;
}
.feature > *{position:relative}

.tag{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  background: rgba(255,255,255,0.07);
  border:1px solid var(--line);
  color:var(--muted);
  border-radius:999px;
  font-weight:700;
  font-size:12px;
}
.tag .dot{width:7px; height:7px; border-radius:50%; background:var(--accent2)}

.feature h1{
  margin:10px 0 8px;
  font-size: 36px;
  line-height:1.12;
  letter-spacing:-0.02em;
}
.feature p{
  margin:0 0 14px;
  color: var(--muted);
  font-size: 16px;
}
.meta{
  display:flex; gap:10px; align-items:center; color:var(--muted2);
  font-size:13px;
}
.avatar{
  width:34px; height:34px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border:1px solid var(--line);
  display:grid; place-items:center;
  font-weight:800;
}
.meta strong{color:var(--text)}

.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px;
  background: rgba(255,255,255,0.05);
}
.card h3{margin:8px 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:13px}
.card .small{margin-top:10px; color:var(--muted2); font-size:12px}

.section{
  padding:12px 0 30px;
}
.section-header{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:12px;
  margin:16px 0 12px;
}
.section-header h2{margin:0; font-size:22px; letter-spacing:-0.01em}
.section-header a{color:var(--muted); font-weight:700; font-size:14px}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 980px){.grid{grid-template-columns:1fr}}

.post{
  border:1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding:16px;
  min-height: 148px;
}
.post .kicker{color:var(--muted2); font-size:12px; font-weight:800; letter-spacing:0.08em; text-transform:uppercase}
.post h3{margin:8px 0 8px; font-size:17px; line-height:1.22}
.post p{margin:0; color:var(--muted); font-size:13px}
.post .row{display:flex; justify-content:space-between; align-items:center; margin-top:12px; color:var(--muted2); font-size:12px}
.pill{
  display:inline-flex; align-items:center;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.pill.locked{border-color: rgba(255,92,122,0.35); color:#ffd1da}

/* Article */
.article{
  padding:22px 0 42px;
}
.breadcrumbs{color:var(--muted2); font-size:13px; margin-bottom:12px}
.breadcrumbs a{color:var(--muted)}

.article-wrap{
  display:grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap:14px;
}
@media (max-width: 980px){.article-wrap{grid-template-columns:1fr}}

.article main{
  border:1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: var(--shadow);
}
.article h1{margin:8px 0 10px; font-size:32px; line-height:1.14}
.standfirst{color:var(--muted); font-size:16px; margin:0 0 14px}
.article-content p{color:var(--muted); margin:12px 0}
.article-content h2{margin:18px 0 8px; font-size:18px}
.article-content ul{margin:8px 0 12px}
.article-content li{color:var(--muted); margin:6px 0}

.table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow:hidden;
  border-radius: 14px;
  border:1px solid var(--line);
  margin:14px 0;
}
.table th,.table td{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
  vertical-align:top;
}
.table th{
  color:var(--text);
  background: rgba(255,255,255,0.06);
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.table tr:last-child td{border-bottom:none}

.callout{
  border:1px solid rgba(60,230,193,0.28);
  background: rgba(60,230,193,0.08);
  border-radius: 16px;
  padding:14px;
  margin:14px 0;
}
.callout h3{margin:0 0 6px; font-size:15px}

.sidebar{
  position:sticky;
  top:86px;
  align-self:start;
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:14px;
  background: rgba(255,255,255,0.04);
}
.widget-title{font-weight:900; letter-spacing:0.08em; text-transform:uppercase; font-size:12px; color:var(--muted2)}
.sidebar p{color:var(--muted); font-size:13px}
.input{
  width:100%;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(7,11,20,0.6);
  color: var(--text);
  outline:none;
}
.btn{
  display:inline-flex; justify-content:center; align-items:center;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight:800;
  cursor:pointer;
}
.btn.primary{
  border:none;
  background: linear-gradient(135deg, var(--accent), #5a8bff);
}
.btn.full{width:100%}

/* Paywall */
.paywall{
  margin-top:16px;
  border-top:1px dashed rgba(233,238,252,0.22);
  padding-top:16px;
  position:relative;
}
.paywall .blur{
  filter: blur(2px);
  opacity:0.55;
  user-select:none;
  pointer-events:none;
}
.paywall .gate{
  margin-top:-62px;
  border:1px solid rgba(124,92,255,0.32);
  background: rgba(7,11,20,0.86);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  padding:14px;
  box-shadow: var(--shadow);
}
.lock{
  display:inline-flex; align-items:center; gap:10px;
  color:#fff;
  font-weight:900;
}
.plans{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin:10px 0 12px;
}
@media (max-width: 520px){.plans{grid-template-columns:1fr}}
.plan{
  border:1px solid var(--line);
  border-radius: 16px;
  padding:12px;
  background: rgba(255,255,255,0.04);
}
.plan strong{display:block}
.plan .price{font-size:22px; font-weight:1000}
.plan .note{color:var(--muted2); font-size:12px}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  background: rgba(7,11,20,0.62);
  margin-top: 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap:12px;
  padding:22px 0;
}
@media (max-width: 980px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width: 520px){.footer-grid{grid-template-columns:1fr}}
.footer h4{margin:0 0 8px; font-size:13px; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted2)}
.footer p,.footer a{color:var(--muted); font-size:13px}
.footer-bottom{
  border-top:1px solid var(--line);
  padding:14px 0;
  display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap;
  color:var(--muted2);
  font-size:12px;
}

/* Cookie banner */
.cookie{
  position:fixed;
  left:14px; right:14px; bottom:14px;
  border:1px solid var(--line);
  background: rgba(7,11,20,0.92);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding:12px 12px;
  display:none;
  box-shadow: var(--shadow);
}
.cookie .row{display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap}
.cookie p{margin:0; color:var(--muted); font-size:13px}
.cookie .actions{display:flex; gap:10px}
.btn.ghost{background: rgba(255,255,255,0.05)}

/* Modal */
.overlay{
  position:fixed; inset:0;
  background: rgba(0,0,0,0.6);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:100;
}
.modal{
  width:min(520px, 100%);
  border:1px solid var(--line);
  background: rgba(11,18,32,0.92);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding:16px;
  box-shadow: var(--shadow);
}
.modal h2{margin:0 0 8px}
.modal p{margin:0 0 12px; color:var(--muted)}
.modal .x{
  float:right;
  width:38px; height:38px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color:var(--text);
  cursor:pointer;
}

/* ── Ticker bar ── */
.ticker-bar{
  background: linear-gradient(90deg, var(--accent), #5a8bff);
  padding:8px 0;
  overflow:hidden;
  font-size:13px;
  font-weight:600;
}
.ticker-inner{display:flex; align-items:center; gap:0}
.ticker-label{
  background:rgba(0,0,0,0.25);
  padding:3px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:0.08em;
  text-transform:uppercase;
  white-space:nowrap;
  flex-shrink:0;
  margin-right:14px;
}
.ticker-track{overflow:hidden; flex:1}
.ticker-content{display:inline-block; white-space:nowrap; animation: ticker 44s linear infinite}
@keyframes ticker{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* ── Feature hero ── */
.feature-img{
  width:100%; height:280px; object-fit:cover;
  border-radius:14px;
  margin-bottom:14px;
}
.feature h1{font-size:24px; margin:10px 0 8px; line-height:1.2}
.feature h1 a:hover{opacity:0.85}

/* ── Main layout ── */
.main-layout{
  display:grid;
  grid-template-columns: 1fr 300px;
  gap:18px;
  padding-bottom: 48px;
}
@media (max-width:980px){.main-layout{grid-template-columns:1fr}}
.sidebar-wrap{padding-top:4px}

/* ── Tag cloud ── */
.tag-cloud{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.tag-link{
  display:inline-block;
  padding:5px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:var(--muted);
  transition:.15s;
}
.tag-link:hover{background:var(--accent); color:#fff; border-color:var(--accent); opacity:1}

/* ── Popular list ── */
.popular-ol{
  list-style:none; margin:10px 0 0; padding:0;
  counter-reset:pop;
}
.popular-ol li{
  counter-increment:pop;
  display:flex; gap:10px; align-items:flex-start;
  padding:9px 0;
  border-bottom:1px solid var(--line);
  font-size:13px;
  color:var(--muted);
}
.popular-ol li:last-child{border-bottom:none}
.popular-ol li::before{
  content:counter(pop);
  font-weight:900;
  font-size:15px;
  color:rgba(233,238,252,0.18);
  min-width:20px;
  line-height:1.2;
}
.popular-ol a{color:var(--text); font-weight:500; line-height:1.35}
.popular-ol a:hover{color:var(--accent2); opacity:1}

/* ── Comparison table (article) ── */
.comparison-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  margin:16px 0;
  font-size:13px;
}
.comparison-table th,.comparison-table td{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  vertical-align:top;
}
.comparison-table th{
  background:rgba(255,255,255,0.07);
  color:var(--text);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:0.08em;
}
.comparison-table tr:last-child td{border-bottom:none}

/* ── Callout / info box ── */
.callout{
  border:1px solid rgba(60,230,193,0.28);
  background:rgba(60,230,193,0.07);
  border-radius:14px;
  padding:14px;
  margin:16px 0;
}
.callout h3{margin:0 0 6px; font-size:15px; color:var(--accent2)}
.callout ul,.callout ol{margin:6px 0 0 16px}
.callout li{color:var(--muted); font-size:13px; margin:4px 0}

/* ── Share bar ── */
.share-bar{
  display:flex; flex-wrap:wrap; gap:8px; align-items:center;
  padding:14px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin:22px 0;
}
.share-label{font-size:13px; font-weight:700; color:var(--muted2)}
.share-btn{
  display:inline-flex; align-items:center; gap:6px;
  padding:7px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:none;
  cursor:pointer;
  transition:opacity .15s;
}
.share-btn:hover{opacity:.8}
.share-btn.fb{background:#1877f2; color:#fff}
.share-btn.tw{background:#000; color:#fff}
.share-btn.wa{background:#25d366; color:#fff}
.share-btn.copy{background:rgba(255,255,255,0.08); color:var(--text); border:1px solid var(--line)}

/* ── Article header extras ── */
.standfirst{color:var(--muted); font-size:16px; margin:0 0 14px; line-height:1.6; font-style:italic; border-left:3px solid var(--accent); padding-left:12px}
.article-meta-bar{
  display:flex; gap:12px; align-items:center;
  font-size:13px; color:var(--muted2);
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
  margin-bottom:18px;
  flex-wrap:wrap;
}
.article-meta-bar strong{color:var(--text)}
.article-img{
  width:100%; max-height:400px; object-fit:cover;
  border-radius:14px;
  margin-bottom:6px;
}
.img-caption{font-size:12px; color:var(--muted2); font-style:italic; margin-bottom:18px; text-align:center}

/* ── Section page hero ── */
.section-page-hero{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:32px;
  margin-bottom:18px;
  background:
    radial-gradient(500px 300px at 10% 50%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(400px 300px at 90% 20%, rgba(60,230,193,0.14), transparent 55%),
    rgba(255,255,255,0.03);
}
.section-page-hero h1{margin:0 0 8px; font-size:30px}
.section-page-hero p{color:var(--muted); margin:0}

/* ── Static pages ── */
.static-body{
  max-width:760px;
  margin:0 auto;
  padding:36px 0 60px;
}
.static-body h1{font-size:30px; margin-bottom:6px}
.static-body .subtitle{color:var(--muted); margin-bottom:28px}
.static-body h2{font-size:18px; margin:28px 0 8px}
.static-body p,.static-body li{color:var(--muted); font-size:15px; line-height:1.7; margin-bottom:.9em}
.static-body ul{margin:6px 0 10px 18px}
.static-body a{color:var(--accent2)}

/* ── Contact form ── */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px}
@media (max-width:760px){.contact-grid{grid-template-columns:1fr}}
.form-group{margin-bottom:14px}
.form-group label{display:block; font-size:13px; font-weight:700; margin-bottom:5px; color:var(--muted)}
.form-group input,.form-group textarea,.form-group select{
  width:100%; padding:10px 12px;
  border-radius:12px; border:1px solid var(--line);
  background:rgba(7,11,20,0.6); color:var(--text);
  font-size:14px; outline:none;
}
.form-group input:focus,.form-group textarea:focus{border-color:var(--accent)}
.form-group textarea{min-height:110px; resize:vertical}

/* ── Subscribe page ── */
.sub-page{padding:40px 0 60px; max-width:640px; margin:0 auto}
.sub-page h1{margin-bottom:8px}

/* ── About page ── */
.about-hero{
  border:1px solid var(--line);
  border-radius:var(--radius2);
  padding:48px 32px;
  text-align:center;
  margin-bottom:36px;
  background:
    radial-gradient(700px 350px at 50% 0%, rgba(124,92,255,0.22), transparent 60%),
    rgba(255,255,255,0.03);
}
.about-hero h1{font-size:34px; margin-bottom:10px}
.about-hero p{color:var(--muted); max-width:580px; margin:0 auto}
.team-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:18px}
@media (max-width:760px){.team-grid{grid-template-columns:1fr}}
.team-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
  text-align:center;
  background:rgba(255,255,255,0.04);
}
.team-avatar{
  width:60px; height:60px; border-radius:18px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  display:flex; align-items:center; justify-content:center;
  font-weight:900; font-size:20px;
  margin:0 auto 10px;
}
.team-card h3{font-size:15px; margin:0 0 4px}
.team-card p{font-size:12px; color:var(--muted2); margin:0}

/* Paywall extras */
.paywall-note{font-size:12px; color:var(--muted2); text-align:center; margin-top:8px}
.paywall .gate .lock{margin-bottom:10px}
.paywall .gate h3{font-size:17px; margin:0 0 6px}
.paywall .gate p{color:var(--muted); font-size:14px; margin:0 0 12px}

/* Reading progress */
#readingProgress{
  position:fixed; top:0; left:0; z-index:200;
  height:3px; width:0%;
  background:linear-gradient(90deg, var(--accent), var(--accent2));
  transition:width .1s;
}


