/* learn.wescale.ai — shared hub stylesheet. Palette mirrors the Mastermind course. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0c12;
  --bg-card: #141821;
  --bg-elev: #1c2030;
  --text: #f0f3f8;
  --text-dim: #9ba3b8;
  --text-mute: #5d6478;
  --border: #262b3a;
  --gold: #ffb840;
  --gold-soft: rgba(255,184,64,0.12);
  --augment: #00d4aa;
  --automate: #8d7cff;
  --score: #6acfff;
  --accent: var(--gold);
  --accent-soft: var(--gold-soft);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.65; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 56px; }

.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,12,18,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 14px 0;
}
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.topnav .brand { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }
.topnav .brand a { color: inherit; text-decoration: none; }
.topnav .brand a:hover { color: var(--accent); }
.topnav .nav-links { display: flex; gap: 22px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.topnav .nav-links a { color: var(--text-mute); text-decoration: none; }
.topnav .nav-links a:hover { color: var(--accent); }

.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,184,64,0.10) 0%, transparent 55%),
    radial-gradient(circle at 85% 70%, rgba(106,207,255,0.08) 0%, transparent 55%),
    linear-gradient(180deg, #0a0c12 0%, #12141f 100%);
  border-bottom: 1px solid var(--border);
  padding: 96px 0 80px;
}
.kicker {
  display: inline-block; font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  padding: 6px 12px; border: 1px solid var(--accent); border-radius: 6px;
  background: var(--accent-soft); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px); font-weight: 800;
  line-height: 1.06; letter-spacing: -1.5px; margin-bottom: 22px; color: #fff;
}
.hero .lead {
  font-size: 21px; color: var(--text-dim); max-width: 760px;
  line-height: 1.5; font-weight: 400;
}

section { padding: 72px 0; }
.section-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 700; margin-bottom: 14px; color: var(--accent);
}
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; line-height: 1.12; letter-spacing: -0.5px; margin-bottom: 16px; color: #fff; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 36px; }
.card {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 30px 28px; transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card .tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.card.live .tag { color: var(--augment); }
.card.soon { opacity: .7; }
.card.soon .tag { color: var(--text-mute); }
.card h3 { font-size: 22px; font-weight: 700; margin: 14px 0 10px; color: #fff; }
.card p { font-size: 15px; color: var(--text-dim); line-height: 1.55; }
.card .go { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); }

.list { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 18px 22px; text-decoration: none; color: var(--text);
  font-weight: 600; transition: border-color .15s ease;
}
.list a:hover { border-color: var(--accent); }
.list a .meta { font-size: 13px; color: var(--text-mute); font-weight: 500; }
.empty { margin-top: 30px; padding: 30px; border: 1px dashed var(--border); border-radius: 12px; color: var(--text-mute); font-size: 15px; }

footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-mute); font-size: 13px; }
footer a { color: var(--text-dim); }

@media (max-width: 640px) { .wrap { padding: 0 24px; } }
