/* The blog's one stylesheet: nav, article, call-to-action box and footer of every post, in the black-and-green
   palette tryready.com uses. Night is the only theme, so these are the base rules, not an override layer.
     bg #0A0E0C · band #0E1411 · line #1E2A22 · inset #17211B · text #F4F8F3 / prose #C3D0C6 · green #34D399 / #0BD873 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  color-scheme: dark;
  --blue: #2563EB; --blue-light: #0EA5E9; --green: #10B981;
  --dark: #F1F5F9; --gray-900: #E2E8F0; --gray-700: #A9B6CC; --gray-500: #94A3B8;
  --gray-300: rgba(255,255,255,0.10); --gray-100: #17211B; --white: #0B1220;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: #F4F8F3; line-height: 1.7; background: #0A0E0C; -webkit-font-smoothing: antialiased; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px; display: flex; align-items: center; justify-content: center; background: rgba(14,20,17,0.82); backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid #1E2A22; }
.nav-inner { width: 100%; max-width: 1100px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: baseline; font-size: 1.35rem; letter-spacing: -0.04em; font-family: 'Plus Jakarta Sans','Inter',sans-serif; text-decoration: none; font-weight: 800; color: #F1F5F9; }
.logo .dot { display: inline-block; width: 0.26em; height: 0.26em; border-radius: 50%; background: #0BD873; margin-left: 0.08em; align-self: baseline; }
.nav-r { display: flex; align-items: center; gap: 26px; }
.nav-r a { padding: 0; border-radius: 0; font-size: 13.5px; font-weight: 600; color: #8FA396; text-decoration: none; font-variant-ligatures: none; transition: all 0.2s; }
.nav-r a:hover { color: #F4F8F3; }
.nav-r a.cta-sm { background: #0BD873; color: #06251A; font-weight: 800; padding: 10px 20px; border-radius: 9px; }
.nav-r a.cta-sm:hover { background: #34D399; color: #06251A; }

.article-header { padding: 140px 24px 48px; text-align: center; background: linear-gradient(180deg, #0E1411 0%, #0A0E0C 100%); }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 20px; }
.category { display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(11,216,115,0.14); color: #34D399; }
.read-time { font-size: 0.85rem; color: var(--gray-500); font-weight: 500; }
.article-header h1 { font-size: 2.25rem; font-weight: 900; color: var(--dark); max-width: 720px; margin: 0 auto; line-height: 1.3; }

.article-body { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.article-body h2 { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin: 40px 0 16px; }
.article-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 28px 0 12px; }
.article-body p { font-size: 1rem; color: #C3D0C6; margin-bottom: 18px; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; color: var(--gray-700); }
.article-body li { margin-bottom: 8px; line-height: 1.7; color: #C3D0C6; }
.article-body strong { color: var(--dark); }
.article-body code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; color: var(--gray-900); }
.article-body blockquote { border-left: 3px solid #34D399; padding: 4px 0 4px 18px; margin: 18px 0; color: #C3D0C6; background: rgba(52,211,153,0.08); }
.article-body blockquote p { margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.article-body th, .article-body td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--gray-300); }
.article-body th { background: var(--gray-100); font-weight: 700; color: var(--dark); }
.article-body hr { border: none; border-top: 1px solid var(--gray-300); margin: 32px 0; }
.article-body a { color: #34D399; font-weight: 500; }
.article-body a:hover { color: #5CE79A; }
.article-body .callout strong { color: #34D399; }

.article-cta { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
.cta-box { background: #0E1411; border: 1px solid #1E2A22; border-radius: 20px; padding: 48px 40px; text-align: center; color: #F4F8F3; }
.cta-box h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; color: #F4F8F3; }
.cta-box p { font-size: 1rem; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; color: #C3D0C6; }
.btn-white { background: #0BD873; color: #06251A; padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; text-decoration: none; display: inline-block; transition: transform 0.2s; }
.btn-white:hover { background: #34D399; transform: translateY(-2px); }
.back-link { max-width: 720px; margin: 0 auto; padding: 0 24px 48px; }
.back-link a { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: #34D399; text-decoration: none; }
.back-link a:hover { color: #5CE79A; }

footer { background: #0B0F0D; border-top: 1px solid #1E2A22; padding: 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 26px 28px 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12px; color: #5C6E60; font-weight: 600; }
footer .logo { font-size: 18px; color: #F4F8F3; margin: 0; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; margin-left: auto; }
footer a { font-size: 12px; font-weight: 600; color: #5C6E60; letter-spacing: -0.01em; text-decoration: none; }
footer a:hover { color: #F4F8F3; }

[data-rsms-related] { border-top-color: rgba(255,255,255,0.12) !important; }
[data-rsms-related] h2 { color: #F1F5F9 !important; }
[data-rsms-related] a { color: #34D399; }

@media (max-width: 900px) {
  .nav-api { display: none; }
  .article-header h1 { font-size: 1.75rem; }
  .cta-box { padding: 36px 24px; }
}
@media (max-width: 760px) {
  /* Same as the home nav on a phone: logo, Sign In and Try Ready only. */
  .nav-inner { padding: 0 20px; }
  .nav-r { gap: 18px; }
  .nav-r a[href$="/affiliate"] { display: none; }
  .nav-r a { white-space: nowrap; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { margin-left: 0; }
}
