/* Shared blog styles — matches ringloapp.com brand */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0A1628;
  color: #E0E6ED;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: #00E5CC; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav (same as homepage) */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-brand span { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: #fff; }
.nav-links a { color: #B0BEC5; margin-left: 24px; font-size: 14px; }
.nav-links a:hover { color: #fff; text-decoration: none; }

/* Blog container */
.blog-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Blog index */
.blog-header {
  text-align: center;
  margin-bottom: 60px;
}
.blog-header h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #fff;
}
.blog-header p {
  color: #B0BEC5;
  font-size: 18px;
  margin: 0;
}
.post-list { display: grid; gap: 24px; }
.post-card {
  display: block;
  padding: 28px;
  background: linear-gradient(135deg, #131F33 0%, #0D1F3C 100%);
  border: 1px solid #1A2E4A;
  border-radius: 16px;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s;
}
.post-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(0, 229, 204, 0.4);
}
.post-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.post-card p {
  margin: 0 0 14px;
  color: #B0BEC5;
  font-size: 15px;
}
.post-date {
  color: #8899AA;
  font-size: 13px;
  font-weight: 500;
}

/* Blog post */
.post-meta {
  color: #8899AA;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 24px;
  color: #fff;
}
.post-lead {
  font-size: 20px;
  color: #B0BEC5;
  margin: 0 0 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid #1A2E4A;
}
.post-body h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 56px 0 16px;
  color: #fff;
  letter-spacing: -0.01em;
}
.post-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: #fff;
}
.post-body p { margin: 0 0 20px; color: #D5DEE5; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 24px; color: #D5DEE5; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: #fff; font-weight: 600; }
.post-body em { color: #E0E6ED; }
.post-body hr {
  border: none;
  border-top: 1px solid #1A2E4A;
  margin: 48px 0;
}
.post-body blockquote {
  border-left: 3px solid #00E5CC;
  margin: 20px 0;
  padding: 4px 0 4px 20px;
  color: #B0BEC5;
  font-style: italic;
}
.post-body code {
  background: #131F33;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: #00E5CC;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.post-body th, .post-body td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #1A2E4A;
}
.post-body th {
  color: #fff;
  font-weight: 700;
  background: #131F33;
}

/* Post CTA */
.post-cta {
  margin-top: 60px;
  padding: 32px;
  background: linear-gradient(135deg, #00E5CC22 0%, #00B4A022 100%);
  border: 1px solid #00E5CC44;
  border-radius: 16px;
  text-align: center;
}
.post-cta h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #fff;
}
.post-cta p { margin: 0 0 20px; color: #B0BEC5; }
.post-cta .btn {
  display: inline-block;
  background: #00E5CC;
  color: #0A1628;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
}
.post-cta .btn:hover { transform: translateY(-2px); text-decoration: none; }

/* Back link */
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: #8899AA;
  font-size: 14px;
}
.back-link:hover { color: #00E5CC; }

/* Footer */
.footer {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 40px 24px;
  border-top: 1px solid #1A2E4A;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: #8899AA;
  font-size: 14px;
}
.footer-links a { color: #8899AA; margin-left: 20px; }
.footer-links a:hover { color: #fff; text-decoration: none; }

/* Mobile */
@media (max-width: 640px) {
  .post-title { font-size: 32px; }
  .blog-header h1 { font-size: 36px; }
  .post-lead { font-size: 17px; }
  .post-body h2 { font-size: 22px; }
  .nav-links { display: none; }
  .footer { flex-direction: column; text-align: center; }
  .footer-links a { margin: 0 10px; }
}
