/* Talking to the Machine - Looptah.com
   Minimal, dark-first editorial style. */
:root{
  --bg:#0b0d10;
  --surface:#12161c;
  --surface2:#0f1318;
  --text:#e7edf5;
  --muted:#a7b3c2;
  --line:#1f2a38;
  --accent:#46b3ff; /* change if you want */
  --accent2:#7cffc9;
  --max:1100px;
  --r:16px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  background: radial-gradient(1200px 700px at 10% 0%, rgba(70,179,255,.12), transparent 40%),
              radial-gradient(1100px 650px at 95% 10%, rgba(124,255,201,.08), transparent 45%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--accent)}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.section{padding:72px 0}
.section.compact{padding:48px 0}
.grid{display:grid; gap:18px}
.grid.cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}
.grid.cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}
@media (max-width: 900px){
  .grid.cols-2,.grid.cols-3{grid-template-columns:1fr}
}

.nav{
  position:sticky; top:0; z-index:50;
  background: rgba(11,13,16,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(31,42,56,.7);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px}
.brand{display:flex; align-items:center; gap:12px}
.brand-mark{
  width:36px; height:36px; border-radius:10px;
  background: linear-gradient(140deg, rgba(70,179,255,.95), rgba(124,255,201,.85));
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}
.brand-title{font-weight:800; letter-spacing:.2px}
.brand-sub{font-size:12px; color:var(--muted)}
.menu{display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:flex-end}
.menu a{color:var(--muted); font-size:14px}
.menu a.active{color:var(--text)}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(70,179,255,.45);
  background: rgba(70,179,255,.12);
  color:var(--text);
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.btn:hover{border-color:rgba(70,179,255,.75); background:rgba(70,179,255,.18)}
.btn.primary{
  border:none;
  background: linear-gradient(140deg, rgba(70,179,255,.95), rgba(124,255,201,.8));
  color:#071018;
}
.btn.primary:hover{filter:saturate(1.05) brightness(1.05)}
.btn.ghost{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:var(--text);
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:var(--muted);
  border-radius:999px;
  font-size:12px;
}
.pill strong{color:var(--text); font-weight:700}
.pills{display:flex; flex-wrap:wrap; gap:10px}
.card{
  border:1px solid rgba(31,42,56,.8);
  background: linear-gradient(180deg, rgba(18,22,28,.85), rgba(15,19,24,.85));
  border-radius: var(--r);
  padding:18px;
  box-shadow: var(--shadow);
}
.card.soft{box-shadow:none}
.kicker{
  font-family:var(--mono);
  color:rgba(124,255,201,.95);
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
}
h1{font-size:48px; line-height:1.05; margin:12px 0 10px}
h2{font-size:28px; margin:0 0 12px}
h3{font-size:18px; margin:0 0 8px}
p{margin:0 0 12px; color:var(--muted)}
.lead{font-size:18px; color:rgba(231,237,245,.88); max-width:64ch}
.hero{
  padding:78px 0 48px;
}
.hero-grid{display:grid; grid-template-columns: 1.35fr .65fr; gap:18px; align-items:stretch}
@media (max-width: 900px){ .hero-grid{grid-template-columns:1fr} h1{font-size:40px}}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.divider{height:1px; background:rgba(31,42,56,.8); margin:18px 0}

.episode-card h3{margin-bottom:6px}
.meta{display:flex; gap:10px; flex-wrap:wrap; align-items:center; color:var(--muted); font-size:13px}
.meta span{opacity:.9}
.embed{
  border-radius: 14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}
.embed iframe{display:block; width:100%; height:152px; border:0}
.embed.video iframe{height:315px}
.small{font-size:13px; color:var(--muted)}
.footer{padding:34px 0; border-top:1px solid rgba(31,42,56,.8); color:var(--muted)}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}
.footer-grid{display:grid; grid-template-columns:1.3fr .7fr; gap:18px}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr}}
.footer-links{display:flex; gap:12px; flex-wrap:wrap}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  font-size:13px;
}
form{display:grid; gap:12px}
label{font-size:13px; color:rgba(231,237,245,.86)}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
textarea{min-height:120px; resize:vertical}
input:focus,select:focus,textarea:focus{border-color:rgba(70,179,255,.65)}
.note{font-size:12px; color:var(--muted)}
.toast{
  display:none;
  margin-top:12px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(124,255,201,.35);
  background: rgba(124,255,201,.08);
  color:rgba(231,237,245,.92);
}
.toast.error{
  border-color: rgba(255,102,102,.45);
  background: rgba(255,102,102,.08);
}
