/* ========================================
   CXOps Cloud — Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Custom Properties */
:root {
  --bg: #04060D;
  --surface: #080D1A;
  --border: #1A2035;
  --accent-1: #5B6FFF;
  --accent-2: #8B5CF6;
  --accent-3: #06D6A0;
  --text: #E8EDF5;
  --text-muted: #8896B0;
  --gradient: linear-gradient(135deg, #5B6FFF, #8B5CF6, #06D6A0);
  --gradient-text: linear-gradient(135deg, #5B6FFF 0%, #8B5CF6 50%, #06D6A0 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

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

section {
  position: relative;
  z-index: 1;
}

/* ========================================
   Header / Nav
   ======================================== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 6, 13, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 32px;
  height: 32px;
}

.logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

nav a:hover {
  color: var(--text);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 0 20px rgba(91, 111, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(91, 111, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ambient glow halos */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(91, 111, 255, 0.15) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -200px;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(6, 214, 160, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91, 111, 255, 0.1);
  border: 1px solid rgba(91, 111, 255, 0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-1);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ========================================
   Waitlist Form
   ======================================== */

/* ========================================
   HubSpot Modal
   ======================================== */

.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content {
  position: relative;
  background: #E8EEFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 540px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   Section Styles
   ======================================== */

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ========================================
   Cards
   ======================================== */

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(91, 111, 255, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(91, 111, 255, 0.45), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.card-icon.indigo {
  background: rgba(91, 111, 255, 0.15);
}

.card-icon.purple {
  background: rgba(139, 92, 246, 0.15);
}

.card-icon.teal {
  background: rgba(6, 214, 160, 0.15);
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ========================================
   3-Column Grid
   ======================================== */

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

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

/* ========================================
   How it Works — Steps
   ======================================== */

.steps {
  display: flex;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(33.33% / 2);
  right: calc(33.33% / 2);
  height: 1px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  opacity: 0.4;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  color: var(--accent-1);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ========================================
   Social Proof Bar
   ======================================== */

.proof-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.proof-bar p {
  color: var(--text-muted);
  font-size: 16px;
}

.proof-bar strong {
  color: var(--accent-3);
}

/* ========================================
   Feature Pillar Sections
   ======================================== */

.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.pillar:last-of-type {
  border-bottom: none;
}

.pillar.reverse {
  direction: rtl;
}

.pillar.reverse > * {
  direction: ltr;
}

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.pillar-content h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.pillar-content p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  flex-shrink: 0;
}

.pillar-visual {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: inset 0 0 0 1px rgba(91, 111, 255, 0.2);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.pillar-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(91, 111, 255, 0.08) 0%, transparent 60%);
}

.visual-placeholder {
  text-align: center;
  color: var(--text-muted);
}

.visual-placeholder .visual-icon {
  font-size: 64px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.4;
}

.visual-placeholder span:not(.visual-icon) {
  font-size: 13px;
}

/* ========================================
   Pricing Cards
   ======================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: inset 0 0 0 1px rgba(91, 111, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  box-shadow: inset 0 0 0 1px var(--accent-1), 0 0 40px rgba(91, 111, 255, 0.15);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
}

.badge {
  display: inline-block;
  background: rgba(91, 111, 255, 0.15);
  border: 1px solid rgba(91, 111, 255, 0.3);
  color: var(--accent-1);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.price {
  margin: 20px 0;
}

.price-amount {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-amount.free {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-3);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

/* ========================================
   FAQ
   ======================================== */

.faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: inset 0 0 0 1px var(--border);
}

.faq-item h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(91, 111, 255, 0.12) 0%, rgba(139, 92, 246, 0.06) 50%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 40px;
}

/* ========================================
   Page Sections Padding
   ======================================== */

.section-pad {
  padding: 100px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

/* ========================================
   Footer
   ======================================== */

footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 6px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
}

/* ========================================
   Dividers
   ======================================== */

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ========================================
   Product Suite Grid
   ======================================== */

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: block;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(91, 111, 255, 0.45), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card .card-icon {
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.product-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.product-card .product-path {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-1);
  opacity: 0.7;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) and (min-width: 769px) {
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .grid-6 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }

  .pillar.reverse {
    direction: ltr;
  }

  .steps {
    flex-direction: column;
    gap: 40px;
  }

  .steps::before {
    display: none;
  }

  .hero {
    padding: 80px 0 70px;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 16px;
  }

  nav {
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-pad {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 14px 16px;
  }

  .container {
    padding: 0 16px;
  }

  .card {
    padding: 28px;
  }

  .pricing-card {
    padding: 28px;
  }
}


/* ========================================
   Blog
   ======================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card-category {
  background: rgba(91, 111, 255, 0.12);
  color: var(--accent-1);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.blog-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Post detail */

.post-container {
  max-width: 960px;
  margin: 0 auto;
}

.post-hero-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg, 16px);
  margin-bottom: 40px;
}

.post-header {
  position: sticky;
  top: 58px;
  z-index: 50;
  background: var(--bg);
  padding: 24px 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

.post-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.post-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Post body typography */

.post-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}

.post-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 56px;
  margin-bottom: 20px;
}

.post-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 44px;
  margin-bottom: 16px;
}

.post-body p {
  margin-bottom: 28px;
}

.post-body a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:hover {
  color: var(--accent-3);
}

.post-body ul,
.post-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body blockquote {
  border-left: 3px solid var(--accent-1);
  padding-left: 20px;
  margin: 28px 0;
  color: var(--text-muted);
  font-style: italic;
}

.post-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 20px;
  font-size: 14px;
}

.post-body code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.post-body pre code {
  background: none;
  padding: 0;
}

.post-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 24px 0;
}

.post-body figure {
  margin: 28px 0;
}

.post-body figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Post tags */

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.tag-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
}

.post-back {
  margin-top: 48px;
  padding-bottom: 60px;
}

.post-back a {
  color: var(--accent-1);
  text-decoration: none;
  font-size: 15px;
}

.post-back a:hover {
  text-decoration: underline;
}

/* Blog responsive */

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .post-header h1 {
    font-size: 1.75rem;
  }

  .post-body {
    font-size: 1rem;
  }
}
