/* GossipCorner — Core Styles (single file)
   Goal: clean, modern, fast, and easy to extend (no frameworks).
*/

:root{
  --ink:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --bg:#ffffff;
  --brand1:#6366f1; /* indigo */
  --brand2:#22c55e; /* green */
  --brand3:#06b6d4; /* cyan */
  --brand4:#f97316; /* orange */
  --brand5:#e879f9; /* pink */
}
/* --- Reset / Base --- */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
  color:#0f172a;
  background:#ffffff;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
p{margin:0 0 14px 0}
h1,h2,h3{line-height:1.2;margin:0 0 10px 0}
ul{margin:0;padding:0;list-style:none}

/* --- Layout helpers --- */
.wrapper{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
}
.section{padding:56px 0}
.section-sm{padding:28px 0}
.muted{color:#475569}
.kicker{
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:#475569;
}

/* --- Header / Nav --- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid #e2e8f0;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:0.01em;
}
.brand-badge{
  width:34px;height:34px;border-radius:10px;
  background:#0f172a;
  display:grid;place-items:center;
  color:#fff;font-size:14px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.nav-links a{
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
  color:#0f172a;
}
.nav-links a:hover{background:#f1f5f9}
.nav-cta{display:flex; gap:10px; align-items:center}

/* --- Buttons --- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid #0f172a;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  background:#0f172a;
  color:#fff;
  transition:transform .08s ease, opacity .15s ease;
}
.btn:hover{opacity:.93}
.btn:active{transform:translateY(1px)}
.btn-outline{
  background:transparent;
  color:#0f172a;
}
.btn-outline:hover{background:#f8fafc}

/* --- Hero --- */
.hero{
  padding:64px 0 34px 0;
  background:
    radial-gradient(700px 360px at 12% 10%, rgba(99,102,241,.22), transparent 60%),
    radial-gradient(760px 380px at 92% 14%, rgba(34,197,94,.18), transparent 55%),
    radial-gradient(680px 340px at 80% 80%, rgba(6,182,212,.16), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:26px;
  align-items:center;
}
.hero h1{
  font-size:44px;
  letter-spacing:-0.02em;
}
.hero p{font-size:16px;color:#334155}
.hero-card{
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:18px;
  background:#ffffff;
  box-shadow:0 12px 30px rgba(2,6,23,.06);
}
.hero-card h3{font-size:16px;margin-bottom:6px}
.hero-card .mini-list li{
  padding:10px 10px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  margin-bottom:10px;
}
.hero-card .mini-list li:last-child{margin-bottom:0}
.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pill{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #e2e8f0;
  background:#ffffff;
  color:#334155;
}

/* --- Page hero (internal pages) --- */
.page-hero{
  padding:38px 0;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(520px 220px at 18% 20%, rgba(99,102,241,.16), transparent 60%),
    radial-gradient(560px 240px at 88% 30%, rgba(249,115,22,.14), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.page-hero h1{font-size:32px}
.breadcrumb{font-size:13px;color:#64748b}

/* --- Cards / Grids --- */
.card-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:18px;
  background:#ffffff;
  box-shadow:0 12px 30px rgba(2,6,23,.05);
}
.card h3{font-size:18px}
.card p{color:#475569}
.card a.inline{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-weight:600;
  color:#0f172a;
  margin-top:10px;
}
.card a.inline:hover{text-decoration:underline}

/* --- Lists --- */
.list{
  display:grid;
  gap:10px;
}
.list-item{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:16px;
  border:1px solid #e2e8f0;
  border-radius:18px;
  background:#ffffff;
}
.meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  font-size:12px;
  color:#64748b;
}
.badge{
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  color:#334155;
}

/* --- Forms --- */
.form{
  display:grid;
  gap:12px;
  max-width:640px;
}
.field{
  display:grid;
  gap:6px;
}
label{font-size:13px;color:#334155;font-weight:600}
input,textarea,select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid #cbd5e1;
  background:#ffffff;
  font:inherit;
}
textarea{min-height:120px;resize:vertical}
.note{font-size:12px;color:#64748b}

/* --- Footer --- */
.site-footer{
  border-top:1px solid #e2e8f0;
  padding:28px 0;
  background:#ffffff;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:18px;
  align-items:start;
}
.footer-links{display:flex; gap:12px; flex-wrap:wrap}
.footer-links a{font-size:13px;color:#334155}
.footer-links a:hover{text-decoration:underline}
.small{font-size:12px;color:#64748b}

/* --- Responsive --- */
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
  .hero h1{font-size:36px}
  .card-grid{grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 620px){
  .card-grid{grid-template-columns:1fr}
  .nav-links{display:none}
  .nav{padding:10px 0}
  .hero h1{font-size:30px}
}

/* --- Colorful banner strip (home) --- */
.banner-strip{
  margin-top:18px;
  border-radius:20px;
  border:1px solid var(--line);
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(99,102,241,.22), rgba(34,197,94,.16), rgba(6,182,212,.16));
  box-shadow:0 14px 34px rgba(2,6,23,.08);
}
.banner-inner{
  padding:18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.banner-title{font-weight:800; letter-spacing:-0.01em}
.banner-sub{color:#0b1220; opacity:.82; font-size:13px}
.banner-actions{display:flex; gap:10px; flex-wrap:wrap}

/* --- Color accents for cards --- */
.card{position:relative}
.card::before{
  content:"";
  position:absolute; left:14px; top:14px;
  width:52px; height:6px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2), var(--brand3));
  opacity:.9;
}
.list-item{position:relative}
.list-item::before{
  content:"";
  position:absolute; left:16px; top:16px;
  width:46px; height:6px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--brand4), var(--brand5), var(--brand3));
  opacity:.75;
}

/* --- Category chips --- */
.chips{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.chip{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#ffffff;
  box-shadow:0 8px 18px rgba(2,6,23,.06);
}

/* Slightly stronger buttons */
.btn{box-shadow:0 10px 20px rgba(2,6,23,.10)}
.btn-outline{box-shadow:none}
