/* ── VARIABLES ── */
:root {
  --cyan: #00AEEF;
  --orange: #F5A623;
  --green: #5AB830;
  --dark: #0D1117;
  --dark-2: #16202C;
  --bg: #FFFFFF;
  --bg-2: #F4F7FA;
  --bg-3: #EBF0F6;
  --text-dark: #0D1117;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --grad: linear-gradient(90deg, #00AEEF 0%, #5AB830 50%, #F5A623 100%);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text-dark); font-family: 'Inter', sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 48px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-decoration: none; }
.nav-logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.5px; color: var(--text-dark); }
.nav-logo-bar { height: 3px; width: 100%; background: var(--grad); border-radius: 2px; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-back { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-back:hover { color: var(--text-dark); }
.nav-cta {
  font-size: 14px; font-weight: 600; color: #fff; background: var(--orange);
  padding: 10px 22px; border-radius: 6px; text-decoration: none;
  transition: background 0.2s, transform 0.15s; box-shadow: 0 2px 12px rgba(245,166,35,0.3);
}
.nav-cta:hover { background: #e0961a; transform: translateY(-1px); }

/* ── ARTICLE WRAP ── */
.article-wrap { padding-top: 68px; }

/* ── ARTICLE HEADER ── */
.article-header {
  background: var(--dark-2); position: relative;
  padding: 80px 24px 64px; text-align: center; overflow: hidden;
}
.article-header::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--grad);
}
.article-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.article-header h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(28px, 4vw, 50px); letter-spacing: -1.5px; line-height: 1.1;
  color: #fff; max-width: 820px; margin: 0 auto 20px;
}
.article-meta { font-size: 13px; color: rgba(255,255,255,0.38); font-family: 'DM Mono', monospace; letter-spacing: 0.05em; }

/* ── ARTICLE BODY ── */
.article-body { max-width: 780px; margin: 0 auto; padding: 64px 24px 0; }
.article-body p { font-size: 17px; line-height: 1.85; color: var(--text-body); margin-bottom: 20px; }
.article-body h2 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 26px;
  letter-spacing: -0.5px; color: var(--text-dark); margin: 48px 0 14px; line-height: 1.2;
}
.article-body h3 {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px;
  color: var(--text-dark); margin: 28px 0 8px;
}
.article-body ul { margin: 0 0 20px 4px; display: flex; flex-direction: column; gap: 8px; list-style: none; }
.article-body ul li { font-size: 16px; line-height: 1.7; color: var(--text-body); padding-left: 18px; position: relative; }
.article-body ul li::before { content: '→'; position: absolute; left: 0; color: var(--cyan); font-size: 13px; }
.article-body strong { color: var(--text-dark); font-weight: 600; }

.highlight-box {
  background: var(--bg-2); border: 1.5px solid var(--border);
  border-left: 4px solid var(--cyan); border-radius: 8px; padding: 20px 24px; margin: 24px 0;
}
.highlight-box p { margin: 0; font-size: 15px; }

.cost-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0;
}
.cost-item {
  background: var(--bg-2); border: 1.5px solid var(--border); border-radius: 8px; padding: 16px 18px;
}
.cost-item .cost-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.cost-item .cost-val { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; color: var(--text-dark); }

/* ── STATES SECTION ── */
.states-section {
  background: var(--bg-2); border-radius: 12px; border: 1.5px solid var(--border);
  padding: 28px 32px; margin: 40px 0;
}
.states-section h2 { margin-top: 0; }
.states-section p { font-size: 15px; }

/* ── CTA ── */
.article-cta {
  background: var(--dark-2); border-radius: 16px; padding: 52px 40px;
  text-align: center; margin: 48px 0 72px; position: relative; overflow: hidden;
}
.article-cta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--grad);
}
.article-cta h2 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 28px;
  letter-spacing: -0.5px; color: #fff; margin: 0 0 12px;
}
.article-cta p { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 480px; margin: 0 auto 28px; }
.cta-btn {
  display: inline-block; padding: 15px 32px; background: var(--orange);
  color: #fff; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px;
  border-radius: 10px; text-decoration: none; transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(245,166,35,0.35); letter-spacing: -0.2px;
}
.cta-btn:hover { background: #e0961a; transform: translateY(-1px); }

/* ── BLOG INDEX ── */
.blog-index-header {
  background: var(--dark-2); position: relative;
  padding: 96px 24px 80px; text-align: center;
}
.blog-index-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.blog-index-header h1 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -1.5px; color: #fff; max-width: 700px; margin: 0 auto 16px;
}
.blog-index-header p { font-size: 17px; color: rgba(255,255,255,0.5); max-width: 520px; margin: 0 auto; line-height: 1.7; }

.blog-index-body { max-width: 1200px; margin: 0 auto; padding: 72px 48px 96px; }
.blog-index-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.blog-index-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--cyan); border-radius: 2px; }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
.blog-card {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 28px; text-decoration: none; display: block; position: relative;
  overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.blog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad); opacity: 0; transition: opacity 0.25s;
}
.blog-card:hover { border-color: var(--cyan); box-shadow: 0 8px 32px rgba(0,174,239,0.08); transform: translateY(-2px); }
.blog-card:hover::before { opacity: 1; }
.blog-card-trade { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.blog-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: -0.2px; color: var(--text-dark); margin-bottom: 8px; line-height: 1.35; }
.blog-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.blog-card-arrow { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--cyan); margin-top: 14px; }

/* ── FOOTER ── */
.blog-footer {
  background: var(--dark); padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; }
.footer-logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.5px; color: #fff; }
.footer-bar { height: 2px; width: 100%; background: var(--grad); border-radius: 2px; }
.footer-copy { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.04em; color: rgba(255,255,255,0.25); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-index-body { padding: 48px 20px 64px; }
  .article-body { padding: 40px 20px 0; }
  .article-header { padding: 60px 20px 48px; }
  .article-cta { padding: 36px 20px; }
  .cost-grid { grid-template-columns: 1fr; }
  .states-section { padding: 20px; }
  .blog-footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; gap: 20px; }
}
