/* Shared article chrome for /learn/ — mirrors the homepage design tokens. */
:root {
  --bg: #faf8f2; --ink: #23221d; --dim: #5f5a4e; --line: #e8e2d4;
  --lime: #f6c445; --lime-deep: #eeb02c; --lime-wash: rgba(246,196,69,0.28);
  --card: #ffffff; --r: 20px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 17px; line-height: 1.65;
  background-image:
    radial-gradient(900px 600px at 105% -5%, var(--lime-wash), transparent 65%),
    radial-gradient(800px 700px at -10% 55%, rgba(246,196,69,0.16), transparent 60%);
  background-attachment: fixed;
}
h1, h2, h3 { font-family: 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.02em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
a { color: inherit; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.word { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.navlinks { display: flex; gap: 26px; align-items: center; font-size: 14.5px; font-weight: 500; color: var(--dim); }
.navlinks a { text-decoration: none; }
.navlinks a:hover { color: var(--ink); }
.pill { background: var(--lime); color: var(--ink); font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 1px solid rgba(23,24,26,0.12); display: inline-block; transition: transform .18s ease, background .18s ease; }
.pill:hover { background: var(--lime-deep); transform: translateY(-1px); }

article { max-width: 720px; margin: 0 auto; padding: 40px 0 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.7); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--dim); padding: 8px 16px; margin-bottom: 20px; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-deep); }
article h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.1; margin-bottom: 14px; }
.meta { color: var(--dim); font-size: 14px; margin-bottom: 34px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.answer { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--lime-deep); border-radius: 12px; padding: 20px 24px; margin-bottom: 30px; font-size: 17.5px; }
.answer b { font-weight: 700; }
article h2 { font-size: 25px; font-weight: 700; margin: 38px 0 12px; }
article p { margin-bottom: 16px; color: #33322b; }
article ul, article ol { margin: 0 0 16px 22px; color: #33322b; }
article li { margin-bottom: 8px; }
article table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15.5px; }
article th, article td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
article th { background: #f4efe3; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--dim); }
article tr:last-child td { border-bottom: none; }
.yes { color: #2e7d4f; font-weight: 600; }
.no { color: #b8593d; font-weight: 600; }
article a { border-bottom: 2px solid var(--lime-deep); text-decoration: none; padding-bottom: 1px; }
article a:hover { border-color: var(--ink); }
.cta { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; margin: 42px 0 10px; box-shadow: 0 18px 50px rgba(23,24,26,0.06); }
.cta h2 { margin: 0 0 8px; font-size: 22px; }
.cta p { color: var(--dim); font-size: 15.5px; margin-bottom: 18px; }
.related { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.related h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 0 0 14px; }
.related a { display: block; font-weight: 600; margin-bottom: 10px; border-bottom: none; }
.related a:hover { color: var(--lime-deep); }
footer { padding: 40px 0 56px; color: var(--dim); font-size: 13.5px; border-top: 1px solid var(--line); margin-top: 46px; }
footer p { max-width: 74ch; margin-bottom: 8px; }
@media (max-width: 720px) { .navlinks { display: none; } }
