/* ─────────────────────────────────────────────
   CHUMP — Learn (shared styles for /learn hub + articles)
   ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray: #6b6b6b;
  --gray-2: #86868b;
  --gray-light: #e6e6e6;
  --gray-bg: #f5f5f7;
  --gray-bg-2: #fafafa;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--white);
  color: var(--black);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }

/* ── NAV ── */
.l-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--gray-light);
}
.l-brand { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.l-brand img { height: 30px; width: auto; display: block; }
.l-nav-right { display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); }
.l-nav-right a.link {
  font-size: 14px; font-weight: 500; color: var(--gray); text-decoration: none;
  transition: color 0.2s var(--ease);
}
.l-nav-right a.link:hover { color: var(--black); }
.l-cta {
  display: inline-flex; align-items: center;
  background: var(--black); color: var(--white);
  font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 980px;
  text-decoration: none; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.l-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── LAYOUT ── */
.l-wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
main { padding-top: var(--nav-h); }

.eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gray-2);
}

/* ── LEARN HUB ── */
.learn-hero { padding: clamp(56px, 9vw, 104px) 0 clamp(32px, 5vw, 56px); max-width: 760px; }
.learn-hero .eyebrow { margin-bottom: 16px; }
.learn-hero h1 {
  font-size: clamp(38px, 6vw, 64px); font-weight: 900; line-height: 1.03; letter-spacing: -0.03em;
}
.learn-hero p {
  margin-top: 20px; font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: #454545;
}

.article-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  padding-bottom: clamp(64px, 9vw, 120px);
}
.article-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--gray-light); border-radius: 20px;
  padding: 30px 28px; background: var(--white); text-decoration: none; color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 46px rgba(0,0,0,0.10); border-color: var(--black); }
.article-card .cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-2); }
.article-card h2 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 14px 0 10px; }
.article-card p { font-size: 15px; color: #454545; line-height: 1.6; flex: 1; }
.article-card .meta { margin-top: 20px; font-size: 13px; color: var(--gray-2); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.article-card .meta .arrow { margin-left: auto; transition: transform 0.2s var(--ease); }
.article-card:hover .meta .arrow { transform: translateX(3px); }

/* ── ARTICLE ── */
.article { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 9vw, 96px); }
.breadcrumb { font-size: 13px; color: var(--gray-2); margin-bottom: 28px; }
.breadcrumb a { text-decoration: none; color: var(--gray); }
.breadcrumb a:hover { color: var(--black); }
.article-header { max-width: 720px; margin: 0 auto; text-align: center; }
.article-header .cat { color: var(--gray-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.article-header h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.06; letter-spacing: -0.03em;
  margin: 16px 0 18px;
}
.article-header .sub { font-size: clamp(17px, 2vw, 20px); color: #454545; line-height: 1.5; }
.article-meta {
  margin-top: 24px; font-size: 13px; color: var(--gray-2); font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-light); }

.article-body { max-width: 680px; margin: clamp(40px, 6vw, 64px) auto 0; }
.article-body > * + * { margin-top: 24px; }
.article-body p { font-size: 18px; line-height: 1.72; color: #2a2a2a; }
.article-body h2 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-top: 48px; }
.article-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-top: 32px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { font-size: 18px; line-height: 1.7; color: #2a2a2a; margin-top: 8px; }
.article-body a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { font-weight: 700; }
.article-body blockquote,
.article-body .callout {
  border-left: 3px solid var(--black); padding: 4px 0 4px 22px;
  font-size: 19px; line-height: 1.6; color: var(--black); font-weight: 500;
}
.article-body .callout {
  border: 1px solid var(--gray-light); border-left: 3px solid var(--black);
  border-radius: 12px; padding: 22px 24px; background: var(--gray-bg-2); font-weight: 400; color: #2a2a2a; font-size: 17px;
}

/* ── END CTA ── */
.article-cta {
  max-width: 680px; margin: clamp(48px, 7vw, 80px) auto 0;
  text-align: center; padding: clamp(36px, 5vw, 52px) 32px;
  background: var(--black); color: var(--white); border-radius: 24px;
}
.article-cta h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.article-cta p { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,0.72); line-height: 1.55; }
.article-cta .btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 26px; background: var(--white); color: var(--black);
  font-size: 16px; font-weight: 600; padding: 15px 32px; border-radius: 980px; text-decoration: none;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.article-cta .btn:hover { opacity: 0.9; transform: translateY(-1px); }
.article-cta .cta-offer { margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.82); }
.article-cta .cta-offer .code {
  display: inline-block; border: 1px solid rgba(255,255,255,0.45); border-radius: 6px;
  padding: 1px 8px; margin: 0 1px; font-weight: 700; letter-spacing: 0.08em; color: #fff;
}
.article-cta .note { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.55); }

/* ── MORE ARTICLES ── */
.more { max-width: 900px; margin: clamp(56px, 8vw, 88px) auto 0; }
.more h3 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-2); text-align: center; margin-bottom: 24px; }
.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--gray-light); padding: 36px 0 12px; margin-top: clamp(56px, 8vw, 96px); }
.footer-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; }
.footer-row a { text-decoration: none; color: var(--gray); font-size: 13px; letter-spacing: 0.02em; transition: color 0.2s var(--ease); }
.footer-row a:hover { color: var(--black); }
.footer-divider { width: 1px; height: 12px; background: var(--gray-light); }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--gray); transition: color 0.2s var(--ease); }
.social-icon:hover { color: var(--black); }
.social-icon svg { width: 18px; height: 18px; }
.foot-legal { max-width: 760px; margin: 24px auto 0; padding: 0 24px 8px; font-size: 11px; color: var(--gray-2); line-height: 1.6; text-align: center; }
.foot-legal a { color: var(--gray-2); text-decoration: underline; text-underline-offset: 2px; }
.foot-legal a:hover { color: var(--black); }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .article-grid { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .l-nav-right a.link { display: none; }
  .article-body p, .article-body li { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
