:root{
  --bg:#ffffff;
  --panel:#fff7f8;
  --text:#0b0b0d;
  --muted:#4a4a55;
  --border: rgba(0,0,0,.10);
  --accent:#d7263d; /* red */
  --gold:#f0b429;   /* gold */
  --shadow: 0 14px 34px rgba(0,0,0,.10);
  --max: 1120px;
  --radius: 18px;
}
body[data-theme="cobblemon"]{
  --accent:#d7263d;
  --gold:#f0b429;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(215,38,61,.10), transparent 62%),
    radial-gradient(900px 520px at 90% 0%, rgba(240,180,41,.10), transparent 62%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit}
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:.95em;
}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip-link{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  padding:10px 12px; background:#fff;
  border:1px solid var(--border); border-radius:12px; z-index:999;
}

.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 rgba(0,0,0,.06);
}
.header-row{display:flex; align-items:center; justify-content:space-between; padding:14px 20px}

.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand-mark{
  width:16px; height:16px; border-radius:999px;
  background:radial-gradient(circle at 30% 30%, rgba(240,180,41,.95) 0%, var(--accent) 55%, #7c0f1d 100%);
  box-shadow:0 10px 24px rgba(215,38,61,.22);
}
.brand-text{font-weight:950; letter-spacing:.2px}

.nav{display:flex; gap:16px}
.nav a{ text-decoration:none; padding:8px 10px; border-radius:12px; color:var(--muted) }
.nav a:hover{background:var(--panel); color:var(--text)}

.hero{padding:46px 0 18px}
.hero-grid{display:grid; grid-template-columns: 1.15fr .85fr; gap:28px; align-items:center}
.eyebrow{margin:0 0 10px; font-weight:900; letter-spacing:.4px; color:rgba(215,38,61,.88)}
.hero h1{font-size:clamp(2rem, 4vw, 3rem); line-height:1.1; margin:0 0 10px}
.lead{font-size:1.1rem; color:var(--muted); margin:0 0 14px}
.small{font-size:.95rem}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 0}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:linear-gradient(180deg, var(--accent) 0%, #b1142a 100%);
  color:#ffffff;
  text-decoration:none;
  font-weight:950;
  box-shadow:0 12px 28px rgba(215,38,61,.14);
}
.btn:hover{filter:brightness(1.02)}
.btn-ghost{
  background:transparent;
  color:var(--text);
  box-shadow:none;
}
.btn-ghost:hover{background:var(--panel)}

.hero-media{
  margin:0;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:var(--shadow);
}

.section{padding:34px 0}
.section h2{margin:0 0 12px; font-size:1.7rem}
.muted{color:var(--muted)}
.section-head{display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px}

.card{
  border:1px solid rgba(0,0,0,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
.kv{display:flex; gap:12px; align-items:center; justify-content:space-between}
.k{color:var(--muted); font-weight:900}
.v{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.v code{
  padding:8px 10px;
  border-radius:12px;
  background:rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.10);
}
.copy{
  padding:8px 10px;
  border-radius:12px;
  background:rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.10);
  color:var(--text);
  cursor:pointer;
  font-weight:900;
}
.copy:hover{background:rgba(0,0,0,.06)}

.status{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  font-weight:950;
  border:1px solid rgba(0,0,0,.10);
}
.pill::before{content:""; width:10px; height:10px; border-radius:999px; background:rgba(255,255,255,.35)}
.pill-ok{background:rgba(56,201,103,.10)}
.pill-ok::before{background:#38c967}
.pill-bad{background:rgba(255,85,85,.10)}
.pill-bad::before{background:#ff5555}
.pill-warn{background:rgba(240,180,41,.12)}
.pill-warn::before{background:var(--gold)}
.status-meta{font-size:.95rem}

.cta-panel{
  margin-top:14px;
  border:1px solid rgba(0,0,0,.10);
  background:linear-gradient(180deg, rgba(240,180,41,.18), rgba(255,255,255,.70));
  border-radius:var(--radius);
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.cta-panel h3{margin:0 0 6px}
.cta-panel p{margin:0}

.features{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.feature{
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.85);
  border-radius:var(--radius);
  padding:14px;
}
.feature h3{margin:0 0 6px; font-size:1.05rem}
.feature p{margin:0}

.video-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:12px;
}
.video-card{
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.85);
  border-radius:var(--radius);
  padding:14px;
}
.video-card h3{margin:0 0 10px; font-size:1.05rem}
.video{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.10);
  background:#000;
  aspect-ratio: 16 / 9;
}
.video iframe{width:100%; height:100%; display:block}

.links{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.link-card{
  text-decoration:none;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.85);
  border-radius:var(--radius);
  padding:14px;
}
.link-card:hover{background:rgba(255,255,255,.95)}
.link-title{display:block; font-weight:950; margin-bottom:4px}
.link-sub{display:block}

.keywords{margin-top:14px; font-size:.95rem}

.site-footer{
  padding:28px 0 42px;
  border-top:1px solid rgba(0,0,0,.06);
  background:rgba(255,255,255,.92);
}
.footer-row{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .features{grid-template-columns:1fr 1fr}
  .video-grid{grid-template-columns:1fr}
  .links{grid-template-columns:1fr}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
}


