/* JobLock — Shared Stylesheet */
/* Colors: Navy #1e3a5f | Orange #f97316 | White #ffffff */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,600&family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* =====================
   Reset & Base
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* =====================
   Typography
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #1e3a5f;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: #4b5563;
  font-size: 1rem;
}

.lead {
  font-size: 1.2rem;
  color: #374151;
  line-height: 1.7;
}

/* =====================
   Layout
   ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 7rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* =====================
   Colors & Backgrounds
   ===================== */
.bg-navy { background: #1e3a5f; }
.bg-navy-dark { background: #152d4a; }
.bg-light { background: #f8fafc; }
.bg-white { background: #ffffff; }
.bg-orange { background: #f97316; }

.text-white { color: #ffffff; }
.text-navy { color: #1e3a5f; }
.text-orange { color: #f97316; }
.text-gray { color: #6b7280; }
.text-muted { color: #9ca3af; }

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: #f97316;
  color: #ffffff;
}

.btn-primary:hover {
  background: #ea6c0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.btn-navy {
  background: #1e3a5f;
  color: #ffffff;
}

.btn-navy:hover {
  background: #152d4a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 58, 95, 0.4);
}

.btn-outline {
  background: transparent;
  color: #1e3a5f;
  border: 2px solid #1e3a5f;
}

.btn-outline:hover {
  background: #1e3a5f;
  color: #ffffff;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* =====================
   Navigation
   ===================== */
.nav {
  background: #1e3a5f;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: #f97316;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  margin-left: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.25rem;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* =====================
   Footer
   ===================== */
.footer {
  background: #1e3a5f;
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: #f97316;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #f97316;
}

/* =====================
   Hero
   ===================== */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #152d4a 60%, #0f1f32 100%);
  color: #ffffff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  color: #f97316;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: #f97316;
}

.hero .lead {
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1rem;
}

/* =====================
   Section Headers
   ===================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f97316;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #6b7280;
}

/* =====================
   Cards
   ===================== */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
}

.card:hover {
  border-color: #f97316;
  box-shadow: 0 8px 30px rgba(249,115,22,0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(249,115,22,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.65;
}

/* =====================
   Steps / How It Works
   ===================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(to right, #f97316, #f97316);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  background: #1e3a5f;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 2px #1e3a5f;
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.9rem;
  color: #6b7280;
}

/* =====================
   Pricing
   ===================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 2px solid #e5e7eb;
  position: relative;
  transition: all 0.2s;
}

.pricing-card:hover {
  border-color: #f97316;
  box-shadow: 0 12px 40px rgba(249,115,22,0.1);
}

.pricing-card.featured {
  border-color: #f97316;
  box-shadow: 0 12px 40px rgba(249,115,22,0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #f97316;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f97316;
  margin-bottom: 0.75rem;
}

.pricing-price {
  margin-bottom: 0.5rem;
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 900;
  color: #1e3a5f;
  line-height: 1;
}

.pricing-price .period {
  font-size: 1rem;
  color: #9ca3af;
  font-weight: 400;
}

.pricing-desc {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #f3f4f6;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: #374151;
}

.pricing-features li::before {
  content: '✓';
  color: #f97316;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li.disabled {
  color: #d1d5db;
}

.pricing-features li.disabled::before {
  content: '–';
  color: #d1d5db;
}

/* =====================
   FAQ
   ===================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #1e3a5f;
  font-size: 1rem;
  background: #ffffff;
  transition: background 0.2s;
  gap: 1rem;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-question .faq-icon {
  font-size: 1.25rem;
  color: #f97316;
  flex-shrink: 0;
  transition: transform 0.2s;
  font-style: normal;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* =====================
   Testimonials
   ===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.testimonial-stars {
  color: #f97316;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e3a5f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  color: #1e3a5f;
  font-size: 0.9rem;
}

.testimonial-title {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* =====================
   CTA Banner
   ===================== */
.cta-banner {
  background: linear-gradient(135deg, #f97316 0%, #ea6c0a 100%);
  padding: 5rem 0;
  text-align: center;
  color: #ffffff;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-secondary {
  border-color: rgba(255,255,255,0.6);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

/* =====================
   Feature Grid
   ===================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h4 {
  margin-bottom: 0.375rem;
  font-size: 1rem;
  color: #1e3a5f;
}

.feature-text p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

/* =====================
   Stats
   ===================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: #f97316;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #6b7280;
}

/* =====================
   Page Hero (inner pages)
   ===================== */
.page-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #152d4a 100%);
  padding: 4rem 0 3.5rem;
  color: #ffffff;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  max-width: 560px;
}

.page-hero .hero-label {
  margin-bottom: 1rem;
}

/* =====================
   Breadcrumb
   ===================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #f97316;
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.3);
}

/* =====================
   Contact Form
   ===================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a2e;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  color: #065f46;
}

.form-success h3 {
  color: #065f46;
  margin-bottom: 0.5rem;
}

/* =====================
   Blog
   ===================== */
.blog-index-page,
.blog-article-page {
  background:
    linear-gradient(180deg, #f5efe3 0%, #fbf8f1 28%, #ffffff 72%),
    #ffffff;
}

.blog-index-page .page-hero,
.blog-article-page .page-hero {
  background:
    radial-gradient(circle at top right, rgba(249,115,22,0.16), transparent 32%),
    linear-gradient(140deg, #132941 0%, #1b3d61 58%, #101d31 100%);
  position: relative;
  overflow: hidden;
}

.blog-article-page .page-hero {
  padding: 5rem 0 4.5rem;
}

.blog-index-page .page-hero::before,
.blog-article-page .page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), transparent 85%);
  pointer-events: none;
}

.blog-index-page .page-hero .container,
.blog-article-page .page-hero .container {
  position: relative;
  z-index: 1;
}

.blog-index-page .breadcrumb,
.blog-article-page .breadcrumb {
  margin-bottom: 1.4rem;
  color: rgba(255,255,255,0.58);
}

.blog-index-page .breadcrumb a,
.blog-article-page .breadcrumb a {
  color: rgba(255,255,255,0.75);
}

.blog-index-page .breadcrumb a:hover,
.blog-article-page .breadcrumb a:hover {
  color: #ffffff;
}

.blog-index-page .hero-label,
.blog-article-page .hero-label {
  background: rgba(249,115,22,0.16);
  border-color: rgba(249,115,22,0.35);
  color: #ffd4b3;
}

.blog-index-page .page-hero h1,
.blog-article-page .page-hero h1,
.blog-card h3,
.article-prose h2,
.article-prose h3,
.article-panel h3,
.article-panel h4,
.blog-sidebar-card h3,
.blog-sidebar-card h4 {
  font-family: 'Fraunces', Georgia, serif;
}

.blog-index-page .page-hero h1,
.blog-article-page .page-hero h1 {
  color: #fffaf0;
  line-height: 1.02;
  letter-spacing: -1.3px;
  font-size: clamp(3rem, 6.8vw, 5.2rem);
}

.blog-index-page .page-hero h1 {
  max-width: 11ch;
}

.blog-article-page .page-hero h1 {
  max-width: 22ch;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.blog-index-page .page-hero p,
.blog-article-page .page-hero p {
  max-width: 64ch;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.74);
  line-height: 1.75;
}

.blog-article-page .page-hero p {
  max-width: 680px;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: end;
}

.blog-hero-copy {
  max-width: 760px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  color: rgba(255,255,255,0.76);
  font-size: 0.88rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}

.blog-hero-panel {
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  backdrop-filter: blur(10px);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 18px 48px rgba(7, 14, 27, 0.22);
}

.blog-hero-panel h3 {
  color: #fff7ed;
  font-size: 1.55rem;
  margin-bottom: 0.8rem;
}

.blog-hero-panel p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.blog-issue-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #ffbe88;
  background: rgba(249,115,22,0.14);
  border: 1px solid rgba(249,115,22,0.28);
}

.blog-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.blog-metric {
  padding: 0.95rem 0.9rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.blog-metric-value {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.45rem;
  color: #fff7ed;
  margin-bottom: 0.2rem;
}

.blog-metric-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.66);
  line-height: 1.45;
}

.blog-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.82fr);
  gap: 2rem;
  align-items: start;
}

.blog-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 1.35rem;
}

.blog-feed-grid > .blog-grid {
  grid-template-columns: 1fr;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.blog-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(28, 42, 60, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.98)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #f97316, #ffba73 55%, #1e3a5f);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249,115,22,0.28);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.12);
}

.blog-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: inherit;
}

.blog-card-image {
  height: 154px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.22), transparent 18%),
    linear-gradient(135deg, #203f61, #f97316);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.2rem;
  font-size: 3rem;
}

.blog-card-content {
  padding: 1.45rem;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b45309;
  margin-bottom: 0.8rem;
}

.blog-tag::before {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #f97316;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.76rem;
  color: #6b7280;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  background: #f7f2e8;
  border: 1px solid rgba(180, 83, 9, 0.08);
}

.blog-card h3 {
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  margin-bottom: 0.8rem;
  line-height: 1.18;
  color: #17283f;
}

.blog-card p {
  font-size: 0.95rem;
  color: #5b6472;
  line-height: 1.75;
}

.blog-card-featured {
  min-height: 100%;
}

.blog-card-featured .blog-card-image {
  min-height: 100%;
  height: auto;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 4rem;
  padding: 1.7rem;
}

.blog-card-featured .blog-card-content {
  padding: 1.8rem;
}

.blog-card-featured h3 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.blog-sidebar-card,
.article-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.97));
  border: 1px solid rgba(28, 42, 60, 0.1);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.blog-sidebar-card h3,
.blog-sidebar-card h4 {
  margin-bottom: 0.75rem;
  color: #17283f;
}

.blog-sidebar-card p,
.blog-sidebar-card li {
  color: #4b5563;
  font-size: 0.95rem;
}

.blog-sidebar-card ul,
.article-panel ul,
.article-panel ol {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.7rem;
}

.article-shell {
  position: relative;
  margin-top: -3.5rem;
  padding: 0 0 4.5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(280px, 0.78fr);
  gap: 2rem;
  align-items: start;
}

.article-main {
  min-width: 0;
  padding: 2.8rem clamp(1.4rem, 3.5vw, 3.4rem);
  border-radius: 28px;
  border: 1px solid rgba(28, 42, 60, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,1)),
    #ffffff;
  box-shadow: 0 22px 64px rgba(15, 23, 42, 0.1);
}

.article-sidebar {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
}

.article-panel h3,
.article-panel h4 {
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}

.article-panel li,
.article-panel p {
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.7;
}

.article-panel a {
  color: #1e3a5f;
}

.article-prose {
  font-size: 1rem;
  line-height: 1.85;
  color: #374151;
}

.article-prose > p:first-of-type {
  font-size: 1.16rem;
  line-height: 1.95;
  color: #314253;
}

.article-prose > *:first-child {
  margin-top: 0;
}

.article-prose p,
.article-prose ul,
.article-prose ol,
.article-prose table,
.article-prose .article-callout,
.article-prose .highlight-box {
  margin-bottom: 1.4rem;
}

.article-prose h2,
.article-prose h3 {
  color: #1a1a2e;
  line-height: 1.3;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}

.article-prose h2 {
  font-size: 1.95rem;
}

.article-prose h3 {
  font-size: 1.35rem;
}

.article-prose ul,
.article-prose ol {
  padding-left: 1.25rem;
}

.article-prose li + li {
  margin-top: 0.6rem;
}

.article-prose a {
  color: #1e3a5f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-prose strong {
  color: #111827;
}

.article-callout {
  background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(30,58,95,0.06));
  border: 1px solid rgba(249,115,22,0.16);
  border-radius: 18px;
  padding: 1.35rem 1.45rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.article-callout h3,
.article-callout h4 {
  margin-top: 0;
  margin-bottom: 0.55rem;
}

.article-checklist {
  display: grid;
  gap: 0.9rem;
}

.article-checklist-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(28, 42, 60, 0.1);
  border-radius: 16px;
  background: #fbfaf7;
}

.article-checklist-item .check {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(249,115,22,0.12);
  color: #f97316;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-checklist-item h4 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.article-checklist-item p {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(28, 42, 60, 0.09);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.article-faq {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid rgba(28, 42, 60, 0.1);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  background: #fbfaf7;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
}

.article-source-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.article-source-list a {
  font-weight: 600;
}

.article-cta-box {
  background:
    radial-gradient(circle at top right, rgba(249,115,22,0.24), transparent 35%),
    linear-gradient(135deg, #17304c, #102132);
  border-radius: 24px;
  color: #ffffff;
  padding: 1.8rem;
  margin-top: 2rem;
  box-shadow: 0 20px 44px rgba(9, 18, 31, 0.18);
}

.article-cta-box h3 {
  color: #ffffff;
  margin-top: 0;
}

.article-cta-box p {
  color: rgba(255,255,255,0.75);
}

.article-cta-box .btn {
  margin-top: 0.85rem;
}

/* =====================
   Solutions
   ===================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.solution-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all 0.2s;
  display: block;
}

.solution-card:hover {
  border-color: #f97316;
  box-shadow: 0 8px 24px rgba(249,115,22,0.1);
  transform: translateY(-3px);
}

.solution-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.solution-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.solution-card p {
  font-size: 0.875rem;
  color: #6b7280;
}

/* =====================
   Badges / Tags
   ===================== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-orange {
  background: rgba(249,115,22,0.1);
  color: #f97316;
}

.badge-navy {
  background: rgba(30,58,95,0.1);
  color: #1e3a5f;
}

.badge-green {
  background: #d1fae5;
  color: #065f46;
}

/* =====================
   Table
   ===================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  background: #1e3a5f;
  color: #ffffff;
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
}

.comparison-table th:first-child {
  border-radius: 10px 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 10px 0 0;
}

.comparison-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) td {
  background: #f8fafc;
}

.comparison-table .check { color: #f97316; font-weight: 700; }
.comparison-table .dash { color: #d1d5db; }

/* =====================
   Utility
   ===================== */
.divider {
  height: 1px;
  background: #e5e7eb;
  margin: 2rem 0;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* =====================
   Highlight Box
   ===================== */
.highlight-box {
  background: rgba(249,115,22,0.06);
  border-left: 4px solid #f97316;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
}

.highlight-box p {
  color: #374151;
  font-size: 0.95rem;
}

/* =====================
   Email Capture
   ===================== */
.email-capture {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.email-capture input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.email-capture input::placeholder {
  color: rgba(255,255,255,0.55);
}

.email-capture input:focus {
  border-color: rgba(255,255,255,0.6);
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .blog-hero-grid,
  .blog-intro-grid,
  .article-layout,
  .blog-feed-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-featured .blog-card-image {
    min-height: 190px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e3a5f;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: relative;
  }

  .grid-2,
  .grid-3,
  .pricing-grid,
  .testimonials-grid,
  .steps,
  .blog-grid,
  .solutions-grid,
  .blog-intro-grid,
  .article-layout,
  .blog-feed-grid,
  .blog-hero-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .blog-index-page .page-hero h1,
  .blog-article-page .page-hero h1 {
    max-width: 100%;
  }

  .blog-metric-row {
    grid-template-columns: 1fr;
  }

  .article-shell {
    margin-top: -2rem;
  }

  .article-main {
    padding: 2rem 1.35rem;
    border-radius: 22px;
  }

  .steps::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .email-capture {
    flex-direction: column;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .blog-index-page .page-hero,
  .blog-article-page .page-hero {
    padding: 4.6rem 0 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .article-meta {
    gap: 0.55rem;
  }

  .article-meta span {
    width: 100%;
    justify-content: center;
  }

  .blog-card-content,
  .blog-sidebar-card,
  .article-panel {
    padding: 1.2rem;
  }
}

/* =====================
   Blog Redesign Override
   ===================== */
.blog-index-page,
.blog-article-page {
  --blog-bg: #f7f3ec;
  --blog-paper: #fffdf8;
  --blog-ink: #151515;
  --blog-heading: #171717;
  --blog-muted: #5f645c;
  --blog-line: #ddd6cb;
  --blog-soft: #ece5d9;
  --blog-accent: #ea6e2d;
  --blog-accent-deep: #c7571e;
  --blog-navy: #16324a;
  background: var(--blog-bg);
  color: var(--blog-ink);
  font-family: 'Source Sans 3', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.blog-index-page p,
.blog-article-page p,
.blog-index-page li,
.blog-article-page li {
  color: var(--blog-muted);
}

.blog-index-page h1,
.blog-index-page h2,
.blog-index-page h3,
.blog-index-page h4,
.blog-article-page h1,
.blog-article-page h2,
.blog-article-page h3,
.blog-article-page h4 {
  color: var(--blog-heading);
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.04em;
}

.blog-index-page .nav,
.blog-article-page .nav {
  position: sticky;
  background: rgba(247, 243, 236, 0.94);
  border-bottom: 1px solid var(--blog-line);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.blog-index-page .nav-logo,
.blog-article-page .nav-logo {
  color: var(--blog-heading);
}

.blog-index-page .nav-links a,
.blog-article-page .nav-links a {
  color: #303030;
}

.blog-index-page .nav-links a:hover,
.blog-index-page .nav-links a.active,
.blog-article-page .nav-links a:hover,
.blog-article-page .nav-links a.active {
  background: rgba(0, 0, 0, 0.05);
  color: var(--blog-heading);
}

.blog-index-page .nav-toggle span,
.blog-article-page .nav-toggle span {
  background: var(--blog-heading);
}

.blog-index-page .page-hero,
.blog-article-page .page-hero {
  background: var(--blog-bg);
  border-bottom: 1px solid var(--blog-line);
  padding: 2.9rem 0 4rem;
}

.blog-article-page .page-hero {
  padding: 4rem 0 5rem;
}

.blog-index-page .page-hero::before,
.blog-article-page .page-hero::before {
  display: none;
}

.blog-index-page .breadcrumb,
.blog-article-page .breadcrumb {
  margin-bottom: 1rem;
  color: #7a7f77;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-index-page .breadcrumb a,
.blog-article-page .breadcrumb a {
  color: #666b63;
}

.blog-index-page .breadcrumb a:hover,
.blog-article-page .breadcrumb a:hover {
  color: var(--blog-heading);
}

.blog-index-page .breadcrumb-sep,
.blog-article-page .breadcrumb-sep {
  color: #b5ad9f;
}

.blog-index-page .hero-label,
.blog-article-page .hero-label {
  display: block;
  margin-bottom: 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blog-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-index-page .page-hero h1,
.blog-article-page .page-hero h1 {
  color: var(--blog-heading);
  line-height: 1.02;
}

.blog-index-page .page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 6vw, 4.9rem);
}

.blog-article-page .page-hero h1 {
  max-width: 24ch;
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.3px;
}

.blog-index-page .page-hero p,
.blog-article-page .page-hero p {
  max-width: 48rem;
  color: var(--blog-muted);
  font-size: 1.17rem;
  line-height: 1.7;
}

.blog-article-page .page-hero p {
  max-width: 620px;
  font-size: 1.08rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin-top: 1.4rem;
  color: #73786f;
  font-size: 0.94rem;
}

.article-meta span {
  padding: 0;
  border: 0;
  background: none;
}

.article-meta span:not(:last-child)::after {
  content: '•';
  margin: 0 0.8rem;
  color: #b5ad9f;
}

.blog-index-page .section.bg-white,
.blog-article-page .section.bg-white {
  background: var(--blog-bg);
}

.blog-index-page .section.bg-light,
.blog-article-page .section.bg-light {
  background: #f2ede4;
  border-top: 1px solid var(--blog-line);
}

.blog-section-header-left {
  text-align: left;
  margin-bottom: 2rem;
  max-width: none;
}

.blog-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.72fr);
  gap: 3rem;
  align-items: start;
}

.blog-feed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.9fr);
  gap: 2.2rem;
}

.blog-feed-grid > .blog-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.blog-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.blog-card::before {
  display: none;
}

.blog-card:hover {
  transform: none;
  border: 0;
  box-shadow: none;
}

.blog-card-link {
  display: block;
  color: inherit;
}

.blog-card-image {
  position: relative;
  height: 220px;
  margin-bottom: 1rem;
  padding: 0;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  overflow: hidden;
  background: #e7dfd2;
  isolation: isolate;
}

.blog-card-image span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 253, 248, 0.92);
  color: var(--blog-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-card-image::before,
.blog-card-image::after {
  content: '';
  position: absolute;
}

.card-art-leads {
  background: linear-gradient(140deg, #ef6e63 0%, #f29673 43%, #f3dfc8 100%);
}

.card-art-leads::before {
  left: 20%;
  top: 16%;
  width: 45%;
  height: 26%;
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(180deg, #21415f, #305879);
  box-shadow: 110px 10px 0 -40px rgba(32, 65, 95, 0.75);
  transform: skewX(-14deg);
}

.card-art-leads::after {
  left: -6%;
  right: -6%;
  bottom: -2%;
  height: 46%;
  background:
    radial-gradient(circle at 28% 22%, rgba(255,255,255,0.88), transparent 20%),
    linear-gradient(90deg, rgba(102,186,206,0.92), rgba(170,147,226,0.9) 48%, rgba(246,223,191,0.92));
  filter: blur(4px);
  border-radius: 40% 46% 0 0 / 58% 58% 0 0;
}

.card-art-reviews {
  background: linear-gradient(135deg, #f8dfdc 0%, #f3e6db 58%, #fff7ef 100%);
}

.card-art-reviews::before {
  left: 0;
  right: 0;
  top: 18%;
  height: 32%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0)),
    repeating-linear-gradient(90deg, transparent 0 17%, rgba(255,255,255,0.92) 17% 19%, transparent 19% 36%);
}

.card-art-reviews::after {
  left: 10%;
  right: 10%;
  bottom: 22%;
  height: 20%;
  background:
    radial-gradient(circle at 10% 50%, #e3d5cd 0 9%, transparent 10%),
    radial-gradient(circle at 30% 50%, #e3d5cd 0 9%, transparent 10%),
    radial-gradient(circle at 50% 50%, #e3d5cd 0 9%, transparent 10%),
    radial-gradient(circle at 70% 50%, #e3d5cd 0 9%, transparent 10%),
    radial-gradient(circle at 90% 50%, #e3d5cd 0 9%, transparent 10%);
}

.card-art-gbp {
  background: linear-gradient(135deg, #dce6c9 0%, #f5efe0 100%);
}

.card-art-gbp::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(23, 50, 74, 0.08) 24% 25%, transparent 25% 49%, rgba(23, 50, 74, 0.08) 49% 50%, transparent 50% 74%, rgba(23, 50, 74, 0.08) 74% 75%, transparent 75% 100%),
    linear-gradient(transparent 0 24%, rgba(23, 50, 74, 0.08) 24% 25%, transparent 25% 49%, rgba(23, 50, 74, 0.08) 49% 50%, transparent 50% 74%, rgba(23, 50, 74, 0.08) 74% 75%, transparent 75% 100%);
}

.card-art-gbp::after {
  right: 14%;
  top: 16%;
  width: 33%;
  height: 48%;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(23, 50, 74, 0.92), rgba(23, 50, 74, 0.56));
  box-shadow: -138px 78px 0 -24px rgba(234, 110, 45, 0.4);
  transform: rotate(10deg);
}

.blog-card-content {
  padding: 0;
}

.blog-tag {
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  color: #6d7069;
  font-size: 0.74rem;
  letter-spacing: 0.13em;
}

.blog-tag::before {
  width: 1.1rem;
  height: 1px;
  border-radius: 0;
  background: #a8a090;
}

.blog-card-meta {
  gap: 0.35rem 0;
  margin-bottom: 0.6rem;
  color: #7a7e77;
  font-size: 0.88rem;
}

.blog-card-meta span {
  padding: 0;
  border: 0;
  background: none;
}

.blog-card-meta span:not(:last-child)::after {
  content: '•';
  margin: 0 0.6rem;
  color: #b5ad9f;
}

.blog-card h3 {
  margin-bottom: 0.65rem;
  color: var(--blog-heading);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
}

.blog-card p {
  max-width: 48ch;
  color: var(--blog-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.blog-card-link:hover h3 {
  color: var(--blog-accent-deep);
}

.blog-card-featured .blog-card-image {
  height: 410px;
  margin-bottom: 1.35rem;
}

.blog-card-featured h3 {
  max-width: 12ch;
  font-size: clamp(2.15rem, 3.2vw, 3.35rem);
}

.blog-card-featured p {
  font-size: 1.06rem;
}

.blog-sidebar-card {
  position: sticky;
  top: 6.8rem;
  padding: 0 0 0 1.8rem;
  border: 0;
  border-left: 1px solid var(--blog-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-sidebar-card h3,
.blog-sidebar-card h4 {
  margin-bottom: 0.85rem;
}

.blog-sidebar-card ul {
  padding-left: 0;
  display: grid;
  gap: 0.9rem;
}

.blog-sidebar-card li {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--blog-soft);
}

.blog-sidebar-card li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.blog-sidebar-card a,
.article-panel a,
.article-prose a {
  color: var(--blog-navy);
}

.blog-signup-wrap {
  max-width: 33rem;
  margin: 0 auto;
  text-align: center;
}

.blog-signup-success {
  display: none;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid #c6d7c5;
  border-radius: 18px;
  background: #edf4ea;
  color: #21442a;
}

.blog-signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 27rem;
  margin: 0 auto;
}

.blog-signup-form input {
  flex: 1;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  background: #fffefb;
  color: var(--blog-heading);
  font: inherit;
  outline: none;
}

.blog-signup-form input:focus {
  border-color: rgba(234, 110, 45, 0.8);
  box-shadow: 0 0 0 4px rgba(234, 110, 45, 0.08);
}

.blog-signup-note {
  margin-top: 0.8rem;
  color: #7a7e77;
  font-size: 0.9rem;
}

.article-shell {
  margin-top: 0;
  padding: 3.4rem 0 4.8rem;
  background: var(--blog-paper);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.68fr);
  gap: 3rem;
  align-items: start;
}

.article-main {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article-sidebar {
  top: 6.8rem;
  gap: 1rem;
}

.article-panel {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  background: #fffefb;
  box-shadow: none;
}

.article-panel h3,
.article-panel h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.article-panel ul,
.article-panel ol {
  padding-left: 0;
  gap: 0.8rem;
}

.article-prose {
  max-width: 48rem;
  color: var(--blog-muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.article-prose > p:first-of-type {
  color: #30353a;
  font-size: 1.23rem;
  line-height: 1.82;
}

.article-prose h2,
.article-prose h3 {
  color: var(--blog-heading);
}

.article-prose h2 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--blog-line);
  font-size: 2.15rem;
}

.article-prose h2:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.article-prose h3 {
  font-size: 1.42rem;
}

.article-prose ul,
.article-prose ol {
  padding-left: 1.25rem;
}

.article-prose li + li {
  margin-top: 0.45rem;
}

.article-prose strong {
  color: var(--blog-heading);
}

.article-callout {
  padding: 1.35rem 1.45rem;
  border: 1px solid var(--blog-line);
  border-left: 4px solid var(--blog-accent);
  border-radius: 18px;
  background: #f4ede4;
  box-shadow: none;
}

.highlight-box {
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--blog-accent);
  border-radius: 0 14px 14px 0;
  background: #fff4ea;
}

.article-checklist {
  gap: 0.95rem;
}

.article-checklist-item {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  background: #fffefb;
}

.article-checklist-item .check {
  width: 2rem;
  height: 2rem;
  background: var(--blog-navy);
  color: #ffffff;
}

.table-wrap {
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  box-shadow: none;
  background: #fffefb;
}

.comparison-table th {
  background: var(--blog-navy);
}

.comparison-table td {
  border-bottom-color: #ebe4d8;
}

.comparison-table tr:nth-child(even) td {
  background: #faf6ef;
}

.faq-item {
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
  background: #fffefb;
}

.article-source-list a {
  color: var(--blog-navy);
}

.article-cta-box,
.blog-index-page .cta-banner,
.blog-article-page .cta-banner {
  background: #101010;
  box-shadow: none;
}

.blog-index-page .cta-banner,
.blog-article-page .cta-banner {
  border-top: 1px solid #0a0a0a;
  padding: 4.5rem 0;
}

.article-cta-box {
  padding: 1.8rem;
  border-radius: 22px;
}

.article-cta-box h3,
.blog-index-page .cta-banner h2,
.blog-article-page .cta-banner h2 {
  color: #ffffff;
  font-family: 'Manrope', 'Inter', sans-serif;
}

.article-cta-box p,
.blog-index-page .cta-banner p,
.blog-article-page .cta-banner p,
.blog-index-page .cta-note,
.blog-article-page .cta-note {
  color: rgba(255,255,255,0.72);
}

.blog-index-page .cta-banner .btn-secondary,
.blog-article-page .cta-banner .btn-secondary {
  border-color: rgba(255,255,255,0.22);
}

@media (max-width: 1024px) {
  .blog-intro-grid,
  .blog-feed-grid,
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-sidebar-card {
    position: static;
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--blog-line);
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .blog-index-page .nav-links,
  .blog-article-page .nav-links {
    background: #f7f3ec;
    border-bottom: 1px solid var(--blog-line);
    box-shadow: none;
  }

  .blog-index-page .page-hero,
  .blog-article-page .page-hero {
    padding: 2.25rem 0 3rem;
  }

  .blog-index-page .page-hero h1,
  .blog-article-page .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 10vw, 3.7rem);
  }

  .article-meta {
    display: block;
  }

  .article-meta span {
    display: block;
  }

  .article-meta span:not(:last-child)::after {
    display: none;
  }

  .blog-grid,
  .blog-feed-grid > .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-featured .blog-card-image {
    height: 285px;
  }

  .blog-signup-form {
    flex-direction: column;
  }

  .article-shell {
    padding: 2.7rem 0 4rem;
  }
}

@media (max-width: 480px) {
  .blog-card-image {
    height: 190px;
    border-radius: 16px;
  }

  .blog-card-featured .blog-card-image {
    height: 220px;
  }

  .article-panel,
  .faq-item,
  .article-checklist-item,
  .article-callout {
    border-radius: 16px;
  }
}
