/* 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 #F1F5F9 / prose #C3D0C6 · green #34D399 / #0BD873 */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  color-scheme: dark;
  --green: #0BD873; --mint: #34D399;
  --text: #F1F5F9; --text-soft: #E2E8F0; --prose: #C3D0C6; --muted: #94A3B8;
  --rule: rgba(255,255,255,0.10); --inset: #17211B;
}
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text); 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: var(--text); }
.logo .dot { display: inline-block; width: 0.26em; height: 0.26em; border-radius: 50%; background: var(--green); 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: var(--text); }
.nav-r a.cta-sm { background: var(--green); color: #06251A; font-weight: 800; padding: 10px 20px; border-radius: 9px; }
.nav-r a.cta-sm:hover { background: var(--mint); 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: var(--mint); }
.read-time { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.article-header h1 { font-size: 2.25rem; font-weight: 900; color: var(--text); 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(--text); margin: 40px 0 16px; }
.article-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 28px 0 12px; }
.article-body h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.article-body p { font-size: 1rem; color: var(--prose); margin-bottom: 18px; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; color: var(--prose); }
.article-body li { margin-bottom: 8px; line-height: 1.7; color: var(--prose); }
.article-body strong { color: var(--text); }
.article-body code { background: var(--inset); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; color: var(--text-soft); }
.article-body blockquote { border-left: 3px solid var(--mint); padding: 4px 0 4px 18px; margin: 18px 0; color: var(--prose); 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(--rule); }
.article-body th { background: var(--inset); font-weight: 700; color: var(--text); }
.article-body hr { border: none; border-top: 1px solid var(--rule); margin: 32px 0; }
.article-body a { color: var(--mint); font-weight: 500; }
.article-body a:hover { color: #5CE79A; }
.article-body .callout, .article-body .warn, .article-body .ok { background: rgba(52,211,153,0.10); border-left: 4px solid var(--mint); padding: 16px 20px; border-radius: 8px; margin: 24px 0; }
.article-body .warn { background: rgba(239,68,68,0.12); border-left-color: #EF4444; }
.article-body .callout p, .article-body .warn p, .article-body .ok p { margin: 0; }
.article-body .callout strong { color: var(--mint); }

.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: var(--text); }
.cta-box h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.cta-box p { font-size: 1rem; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; color: var(--prose); }
.btn-primary { background: var(--green); 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-primary:hover { background: var(--mint); 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: var(--mint); 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: var(--text); 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: var(--text); }

@media (max-width: 900px) {
  .nav-api { display: none; }
  .article-header h1 { font-size: 1.75rem; }
  .cta-box { padding: 36px 24px; }
  .article-body .stat-row { grid-template-columns: 1fr; }
}
@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; }
}
.article-body pre { background: var(--inset); padding: 16px 20px; border-radius: 8px; overflow-x: auto; margin: 24px 0; white-space: pre-wrap; }
.article-body pre code { background: none; padding: 0; }
.article-body td.win-sms { color: #60A5FA; font-weight: 700; }
.article-body td.win-email { color: #C4B5FD; font-weight: 700; }
.article-body .sms { background: var(--inset); border-left: 4px solid var(--green); padding: 14px 18px; border-radius: 8px; margin: 12px 0; font-size: 0.95rem; color: var(--prose); line-height: 1.55; }
.article-body .sms .win { display: block; font-size: 0.72rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 8px; }
.article-body .stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.article-body .stat { background: var(--inset); padding: 20px 16px; border-radius: 12px; text-align: center; }
.article-body .stat .n { font-size: 1.8rem; font-weight: 900; color: var(--mint); display: block; }
.article-body .stat .l { font-size: 0.82rem; color: var(--prose); margin-top: 6px; }
.article-body .msg-block { background: var(--inset); border-radius: 12px; padding: 18px 22px; margin: 14px 0; border-left: 4px solid #14B8A6; }
.article-body .msg-label { font-size: 0.75rem; font-weight: 700; color: #14B8A6; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.article-body .msg-text { font-size: 0.95rem; color: var(--text-soft); font-family: 'SF Pro Text', -apple-system, sans-serif; line-height: 1.6; }
