/* ============================================================
   Design System
   ============================================================ */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Figtree:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=JetBrains+Mono:wght@400;500;700&display=swap');
/* CSS Custom Properties */
:root {
  /* Spacing */
  --container-max: 1152px;
  --px: 24px; /* Desktop default padding */
  /* Fonts */
  --font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Figtree', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;
  /* Transitions */
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  /* Z-index scale */
  --z-header: 100;
  --z-modal: 200;
  --z-toast: 300;
}
/* Light Theme (default) */
:root {
  --background: #F3F4F6;
  --header-background: #FDFDFD;
  --foreground: #1F2937;
  --card: #ffffff;
  --subtle: #E5E7EB;
  --muted-foreground: #6B7280;
  --border: #D1D5DB;
  --border-strong: #B3B9C3;
  --primary: #2543EB;
  --primary-hover: #1E35B8;
  --primary-foreground: #ffffff;
  --ring: rgba(37, 67, 235, 0.25);
  --success: #2f9e52;
  --warning: #e8a54b;
  --shadow-card: 0 1px 3px rgba(31, 41, 55, 0.08), 0 1px 2px rgba(31, 41, 55, 0.04);
  --shadow-lg: 0 8px 24px -12px rgba(31, 41, 55, 0.15);
}
/* Dark Theme */
html.dark {
  --background: #0D1117;
  --header-background: #0F0F0F;
  --foreground: #F3F4F6;
  --card: #1C2128;
  --subtle: #262D34;
  --muted-foreground: #8B949E;
  --border: #3D444D;
  --border-strong: #444C56;
  --primary: #2543EB;
  --primary-hover: #3656F0;
  --primary-foreground: #ffffff;
  --ring: rgba(37, 67, 235, 0.3);
  --success: #4ade80;
  --warning: #fbbf24;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
}
/* Reset and Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* v1 
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.10) 1px, transparent 0);
  background-size: 25px 25px;*/
  /*
  v2
  background-image:
          linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);

  background-size:
          40px 40px,
          40px 40px,
          100% 100%;

  background-attachment:fixed;
   */
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}
ul, ol {
  list-style: none;
}
input, textarea {
  font: inherit;
  color: inherit;
}
/* Layout */
/* Responsive padding: Desktop → Tablet → Mobile */
@media (max-width: 1024px) {
  :root {
    --px: 20px; /* Tablet padding */
  }
}

@media (max-width: 768px) {
  :root {
    --px: 16px; /* Mobile large padding */
  }
}

@media (max-width: 640px) {
  :root {
    --px: 14px; /* Mobile padding */
  }
}

@media (max-width: 480px) {
  :root {
    --px: 12px; /* Mobile small padding */
  }
}
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--px);
} 

.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.flex-1 { flex: 1; }
/* Typography */
.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: var(--font-mono); }
.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.lowercase { text-transform: lowercase; }
.page-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
  font-size: clamp(2rem, 5vw + 0.5rem, 3.75rem);
}
.page-title-v2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-wrap: balance;
  font-size: clamp(2rem, 5vw + 0.5rem, 2.75rem);
  margin-bottom: 3rem;
}
.about-page-title{

  font-size: clamp(2rem, 5vw + 0.5rem, 3.75rem);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--foreground);
  text-transform: lowercase;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}
.section-header {
  margin-bottom: 20px;
}
.section-header .section-header__divider {
  margin-top: 16px;
  height: 1px;
  background: var(--border);
}
.section-header .section-header__row {
  margin-top: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.section-header .section-header__count {
  display: none;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 640px) {
  .section-header {
    margin-bottom: 28px;
  }
  .section-header .section-header__count {
    display: inline;
  }
}
/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  width: 100%;
  background: var(--header-background);
  transition: background-color 0.3s;
  border-bottom: 1px solid var(--border);
}
.header-bg {
  position: absolute;
  inset: 0;
  height: 64px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.header-bg__inner {
  height: 100%;
  width: 100%;
  background-color: rgba(243, 244, 246, 0.95);
  border-bottom: 1px solid rgba(209, 213, 219, 0.4);
}
html.dark .header-bg__inner {
  background-color: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(48, 54, 61, 0.2);
}
@media (min-width: 768px) {
  .header-bg__inner {
    background-color: rgba(243, 244, 246, 0.85);
    backdrop-filter: blur(12px);
  }
}
.header-inner {
  position: relative;
  z-index: 10;
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
/* Brand */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s var(--ease-out);
}
.brand-link:hover {
  transform: scale(1.05);
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(1);
  transition: filter 0.2s;
}
html.dark .brand-logo {
  filter: brightness(0.95) invert(1);
}
.brand-mark-wrap {
  display: none;
}
.brand-link:hover .brand-mark-wrap {
  display: none;
}
.brand-mark {
  display: none;
}
.brand-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--foreground);
  text-transform: lowercase;
  line-height: 1;
}
.brand-wordmark .light { font-weight: 300; }
.brand-wordmark .bold { font-weight: 600; }
/* Pill Nav */
.pill-nav {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
@media (min-width: 768px) {
  .pill-nav {
    display: block;
    /*margin-top: 10px;*/
  }
}
.pill-nav__list {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(209, 213, 219, 0.6);
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 6px;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.5) inset, 0 8px 24px -12px rgba(31, 41, 55, 0.12);
  backdrop-filter: blur(12px);
}
html.dark .pill-nav__list {
  border-color: rgba(48, 54, 61, 0.3);
  background: rgba(22, 27, 34, 0.7);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px -12px rgba(0, 0, 0, 0.4);
}
.pill-nav__indicator {
  pointer-events: none;
  position: absolute;
  inset: 4px 0;
  left: 0;
  border-radius: var(--radius-full);
  background: rgba(31, 41, 55, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
  opacity: 0;
}
html.dark .pill-nav__indicator {
  background: rgba(243, 244, 246, 0.08);
}
.pill-nav__link {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.2s;
  text-decoration: none;
}
.pill-nav__link:hover {
  color: var(--muted-foreground);
  /*background: rgba(37, 67, 235, 0.08);*/
}
.pill-nav__link[data-nav-link].active {
  color: var(--muted-foreground);
  font-weight: 600;
  /*background: rgba(37, 67, 235, 0.12);*/
  white-space: nowrap;
}
.pill-nav__link:focus-visible {
  color: var(--foreground);
}
.pill-nav__link[aria-current="page"] {
  color: var(--foreground);
  background: rgba(31, 41, 55, 0.06);
}
html.dark .pill-nav__link[aria-current="page"] {
  background: rgba(243, 244, 246, 0.06);
}
/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-icon-btn {
  display: inline-flex;
  height: 32px;
  width: 32px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(209, 213, 219, 0.6);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted-foreground);
  transition: all 0.2s;
  backdrop-filter: blur(12px);
  padding-top: 3px;
}
html.dark .header-icon-btn {
  border-color: rgba(48, 54, 61, 0.3);
  background: rgba(22, 27, 34, 0.7);
}
.header-icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--foreground);
}
.header-icon-btn svg {
  width: 14px !important;
  height: 14px !important;
}
.theme-icon-sun { display: inline-grid; }
.theme-icon-moon { display: none; }
html.dark .theme-icon-sun { display: none; }
html.dark .theme-icon-moon { display: inline-grid; }
.btn-subscribe-header,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  white-space: nowrap;
  user-select: none;
  background: var(--foreground);
  color: var(--background);
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}
.btn-primary {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}
.btn-subscribe-header:hover,
.btn-primary:hover {
  opacity: 0.9;
}
.btn-primary:active,
.btn-subscribe-header:active {
  transform: scale(0.98);
}
/* Button Icon Sizing */
.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  overflow: visible;
}
.btn--primary .btn__icon,
.btn--secondary .btn__icon {
  width: 18px;
  height: 18px;
  display: block;
}
svg.btn__icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
}
.desktop-only { display: none; }
@media (min-width: 768px) { .desktop-only { display: block; } }
.mobile-only { display: block; }
@media (min-width: 768px) { .mobile-only { display: none; } }
/* Mobile menu toggle */
.mobile-menu-toggle {
  display: inline-flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(209, 213, 219, 0.6);
  background: var(--card);
  color: var(--foreground);
}
html.dark .mobile-menu-toggle {
  border-color: rgba(48, 54, 61, 0.3);
}
@media (min-width: 768px) {
  .mobile-menu-toggle { display: none; }
}
/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
}
.mobile-menu.open {
  display: block;
}
.mobile-scrim {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 20, 0.4);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s var(--ease-out);
}

html.dark .mobile-scrim {
  background: rgba(0, 0, 0, 0.5);
}

.mobile-drawer {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 88%;
  max-width: 384px;
  background: var(--card);
  border-left: 1px solid var(--border);
  padding: 24px;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  animation: slideInRight 0.3s var(--ease-out);
}

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-drawer__label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}
.mobile-nav-link {
  display: block;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(26, 24, 20, 0.06);
}

html.dark .mobile-nav-link:hover {
  background: rgba(250, 250, 249, 0.06);
}

.mobile-nav-link[aria-current="page"] {
  background: rgba(26, 24, 20, 0.08);
}

html.dark .mobile-nav-link[aria-current="page"] {
  background: rgba(250, 250, 249, 0.08);
}
/* Header */
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-menu__title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}
.mobile-menu__close {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s;
}
.mobile-menu__close:hover {
  color: var(--primary);
}
/* Navigation Links */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu__link {
  display: block;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--foreground);
  transition: background 0.2s;
  text-decoration: none;
}
.mobile-menu__link:hover {
  background: rgba(26, 24, 20, 0.06);
}
html.dark .mobile-menu__link:hover {
  background: rgba(250, 250, 249, 0.06);
}
.mobile-menu__link[aria-current="page"] {
  background: rgba(26, 24, 20, 0.08);
}
html.dark .mobile-menu__link[aria-current="page"] {
  background: rgba(250, 250, 249, 0.08);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
}
@media (min-width: 640px) {
  .hero { padding: 80px 0 48px; }
}
.hero__dot-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(31, 41, 55, 0.12) 1px, transparent 0);
  background-size: 24px 24px;
  mask-image: radial-gradient(60% 60% at 30% 20%, black, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 30% 20%, black, transparent);
}
html.dark .hero__dot-grid {
  background-image: radial-gradient(circle at 1px 1px, rgba(243, 244, 246, 0.08) 1px, transparent 0);
}
.hero__content {
  position: relative;
  z-index: 10;
  max-width: 768px;
}
.hero__subtitle {
  margin-top: 20px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .hero__subtitle { font-size: 17px; }
}
/* ============================================================
   STATS GRID
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  overflow: hidden;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-cell {
  padding: 24px;
  transition: background 0.2s;
}
.stat-cell:hover {
  background: rgba(26, 24, 20, 0.02);
}
html.dark .stat-cell:hover {
  background: rgba(250, 250, 249, 0.02);
}
/* Borders between cells */
.stats-grid .stat-cell:nth-child(2n) {
  border-left: 1px solid var(--border);
}
.stats-grid .stat-cell:nth-child(n+3) {
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .stats-grid .stat-cell {
    border-top: 0 !important;
  }
  .stats-grid .stat-cell:not(:first-child) {
    border-left: 1px solid var(--border);
  }
  .stats-grid .stat-cell:nth-child(2n) {
    border-left: 1px solid var(--border);
  }
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--foreground);
  transition: transform 0.48s var(--ease-out);
}
.stat-cell:hover .stat-value {
  transform: translateY(-2px);
}
.stat-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-left: 2px;
}
.stat-label {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted-foreground);
}
/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-card {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --spotlight-opacity: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  transition:
          border-color 0.24s var(--ease-out),
          background-color 0.24s var(--ease-out),
          transform 0.48s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.blog-card:hover,
.blog-card:focus-visible {
  border-color: var(--border-strong);
}
html.dark .blog-card:hover {
  background-color: color-mix(in oklab, var(--foreground) 2%, var(--card));
}
/* Spotlight gradient */
.blog-card::before {
  content: '';
  pointer-events: none;
  z-index: 0;
  opacity: var(--spotlight-opacity);
  background: radial-gradient(
          320px circle at var(--spotlight-x) var(--spotlight-y),
          rgba(76, 51, 216, 0.07),
          transparent 60%
  );
  transition: opacity 0.32s var(--ease-out);
  position: absolute;
  inset: 0;
}
html.dark .blog-card::before {
  background: radial-gradient(
          320px circle at var(--spotlight-x) var(--spotlight-y),
          rgba(124, 102, 240, 0.1),
          transparent 60%
  );
}

.blog-card > * {
  z-index: 1;
  position: relative;
} 

/* Card cover */
.blog-card__cover-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 9;
}
.blog-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.blog-card:hover .blog-card__cover {
  transform: scale(1.04);
}
/* Card body */
.blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  /*text-transform: uppercase;*/
  letter-spacing: 0;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}
.blog-card__meta_without_display {
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  /*text-transform: uppercase;*/
  letter-spacing: 0;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}
.blog-card__category {
  color: var(--primary-hover);
}
.blog-card__dot {
  opacity: 0.4;
}
.blog-card__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--foreground);
  transition: color 0.24s var(--ease-out);
}
.blog-card:hover .blog-card__title {
  color: var(--primary);
}
.blog-card__excerpt {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted-foreground);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-card__read {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--foreground);
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 2px;
  transition: background-size 0.36s var(--ease-out);
}
.blog-card:hover .blog-card__read {
  background-size: 100% 1px;
}
.blog-card__arrow {
  transition: transform 0.32s var(--ease-out);
  display: inline-block;
  color: var(--muted-foreground);
}
.blog-card:hover .blog-card__arrow {
  transform: translateX(5px);
  color: var(--foreground);
}
/* Featured card */
.blog-card--featured {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .blog-card--featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }
  .blog-card--featured .blog-card__cover-wrap {
    border-bottom: none;
    border-right: 1px solid var(--border);
    aspect-ratio: auto;
    min-height: 280px;
  }
  .blog-card--featured .blog-card__body {
    padding: 28px;
  }
  .blog-card--featured .blog-card__title {
    font-size: 22px;
  }
}
/* ============================================================
   CATEGORY TAGS
   ============================================================ */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  /*text-transform: uppercase;*/
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  transition: all 0.2s;
  cursor: pointer;
}

.tag:hover,
.tag.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(76, 51, 216, 0.06);
}

html.dark .tag:hover,
html.dark .tag.active {
  background: rgba(124, 102, 240, 0.1);
}

/* Newsletter / Subscribe Section Styles */
.newsletter-section {
  margin: 0 auto;
  text-align: center;
}
.newsletter-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.newsletter-divider {
  height: 1px;
  width: 32px;
  background: rgba(76, 51, 216, 0.4);
}
.newsletter-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.newsletter-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
  text-transform: lowercase;
  color: var(--foreground);
  font-size: clamp(1.75rem, 4vw, 3rem);
}
.newsletter-desc {
  margin-top: 20px;
  max-width: 448px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted-foreground);
}
/* Chips */
.newsletter-chips {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.newsletter-chip {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.newsletter-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 448px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
    align-items: center;
    gap: 0;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--card);
    padding: 6px;
    transition: border-color 0.2s;
  }
  .newsletter-form:focus-within {
    border-color: var(--primary);
  }
}
.newsletter-input {
  height: 48px;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0 16px;
  font-size: 16px;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder {
  color: var(--muted-foreground);
}
.newsletter-input:focus {
  border-color: var(--primary);
}
@media (min-width: 640px) {
  .newsletter-input {
    height: 40px;
    flex: 1;
    border-radius: var(--radius-full);
    border: 0;
    background: transparent;
    font-size: 14.5px;
  }
  .newsletter-input:focus {
    border: 0;
  }
}
.newsletter-btn {
  height: 48px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-xl);
  background: var(--foreground);
  color: var(--background);
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}
.newsletter-btn:hover {
  opacity: 0.9;
}
.newsletter-btn:active {
  transform: scale(0.99);
}
@media (min-width: 640px) {
  .newsletter-btn {
    height: 40px;
    width: auto;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    padding: 0 20px;
    font-size: 14px;
  }
}
.newsletter-btn__arrow {
  transition: transform 0.2s;
}
.newsletter-btn:hover .newsletter-btn__arrow {
  transform: translateX(2px);
}
/* Subscriber count */
.subscriber-count {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
}
.subscriber-count__dot {
  position: relative;
  display: inline-flex;
  width: 6px;
  height: 6px;
}
.subscriber-count__dot-ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.subscriber-count__dot-core {
  position: relative;
  display: inline-flex;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--header-background);
  padding: 64px 0 32px;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .site-footer {
    padding: 30px 0 40px;
  }
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-section {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}
/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--foreground);
  width: fit-content;
  margin-bottom: 16px;
}
.footer-brand__mark {
  display: none;
}
.footer-brand__logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(1);
  transition: filter 0.2s;
}
html.dark .footer-brand__logo {
  filter: brightness(0.95) invert(1);
}
.footer-brand__wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--foreground);
  text-transform: lowercase;
  line-height: 1;
}
.footer-brand__wordmark .light {
  font-weight: 300;
}
.footer-brand__wordmark .bold {
  font-weight: 600;
}
.footer-brand__desc {
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-bottom: 16px;
  text-align: justify;
}
/* Footer Navigation */
.footer-nav {
  display: flex;
  flex-direction: column;
}
.footer-nav__title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--foreground);
  margin-bottom: 16px;
}
.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}
.footer-nav__link {
  font-size: 14px;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.24s var(--ease-out);
}
.footer-nav__link:hover {
  color: var(--primary);
}
.footer-nav__sublist {
  list-style: none;
  margin: 6px 0 0;
  padding-left: 14px;

  display: flex;
  flex-direction: column;
  gap: 2px;

  /*border-left: 2px solid var(--border);*/
}

.footer-nav__sublist .footer-nav__link {
  font-size: 12px;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.footer-nav__sublist .footer-nav__link:hover {
  opacity: 1;
  padding-left: 4px;
}
.footer-nav__sublist li {
  position: relative;
}

.footer-nav__sublist li::before {
  content: "#";
  position: absolute;
  left: -14px;
  color: var(--muted-foreground);
  font-weight: 600;
}

/* Footer Social */
.footer-social {
  display: flex;
  flex-direction: column;
}
.footer-social__title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--foreground);
  margin-bottom: 16px;
}
/* Social links (footer) */
.social-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 6px;
  color: var(--muted-foreground);
  transition: all 0.24s var(--ease-out);
  border: 1px solid var(--border);
  text-decoration: none;
}
.social-link:hover {
  color: var(--primary);
  border-color: var(--border-strong);
  background: rgba(76, 51, 216, 0.05); 
  margin-top: -3px;
}
html.dark .social-link svg {
  fill: var(--primary-foreground);
}
html.dark .social-link:hover {
  background: rgba(124, 102, 240, 0.08);
}
/* Social link SVG sizing - theme based */
.social-link svg {
  width: 16px !important;
  height: 16px !important;
} 
/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copyright {
  font-size: 13px;
  color: var(--muted-foreground);
}
.footer-copyright p {
  margin: 0;
}
.footer-meta {
  font-size: 13px;
  color: var(--muted-foreground);
}
/* Social icons */
.social-icons {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 767px) {
  .social-icons { justify-content: center; }
}
.social-icon {
  display: inline-flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.social-icon:hover {
  border-color: var(--border-strong);
  color: var(--foreground);
}
.social-icon svg {
  width: 16px !important;
  height: 16px !important;
}
/* Copyright bar extension */
.footer-copyright-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .footer-copyright-bar {
    flex-direction: row;
  }
}
.footer-copyright-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.footer-copyright-bar a:hover {
  color: var(--foreground);
}
/* ============================================================
   CONTACT PAGE
   ============================================================ */
/* Intent cards */
.intent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .intent-grid { grid-template-columns: repeat(3, 1fr); }
}
.intent-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 20px;
  text-align: left;
  transition: all 0.24s var(--ease-out);
}
.intent-card:hover {
  border-color: var(--border-strong);
  background: rgba(26, 24, 20, 0.01);
}
html.dark .intent-card:hover {
  background: rgba(250, 250, 249, 0.02);
}
.intent-card__eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
}
.intent-card__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--foreground);
  text-transform: lowercase;
}
@media (min-width: 640px) {
  .intent-card__title { font-size: 20px; }
}
.intent-card__desc {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted-foreground);
  flex: 1;
}
.intent-card__action {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--foreground);
}
.intent-card__arrow {
  transition: transform 0.2s;
}
.intent-card:hover .intent-card__arrow {
  transform: translateX(4px);
}
/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 7fr 5fr;
    gap: 32px;
  }
}
.contact-form-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 24px;
}
@media (min-width: 640px) {
  .contact-form-card { padding: 32px; }
}
.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}
.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 8px;
}
.form-input,
.form-textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  font-size: 14px;
  transition: all 0.2s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--ring), 0 0 0 4px var(--background);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}
.form-textarea {
  height: auto;
  padding: 12px 14px;
  resize: none;
}
@media (max-width: 639px) {
  .form-input,
  .form-textarea {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}
.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.form-footer__note {
  font-size: 13px;
  color: var(--muted-foreground);
}
.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  background: var(--foreground);
  color: var(--background);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.form-submit-btn:hover {
  opacity: 0.9;
}
.form-submit-btn:active {
  transform: scale(0.98);
}
/* Reach-out cards */
.reach-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 20px;
  transition: all 0.24s var(--ease-out);
}
.reach-card:hover {
  border-color: var(--border-strong);
}
.reach-card--primary {
  border-color: var(--border-strong);
}
.reach-card__eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
}
.reach-card__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--foreground);
  word-break: break-all;
}
.reach-card__desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted-foreground);
}
.reach-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Response time */
.response-pill {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  font-size: 12px;
  color: var(--muted-foreground);
  backdrop-filter: blur(12px);
}
html.dark .response-pill {
  background: rgba(28, 25, 23, 0.7);
}
.response-pill__dot {
  position: relative;
  display: inline-flex;
  width: 6px;
  height: 6px;
}
.response-pill__dot-ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.6;
}
.response-pill__dot-core {
  position: relative;
  display: inline-flex;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}
/* Quote */
.founder-quote {
  position: relative;
  max-width: 640px;
  padding-left: 28px;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .founder-quote { padding-left: 36px; margin-bottom: 0;}
}
.founder-quote__mark {
  pointer-events: none;
  position: absolute;
  top: -20px;
  left: 4px;
  user-select: none;
  font-family: var(--font-display);
  font-size: 68px;
  line-height: 1;
  color: rgba(76, 51, 216, 0.15);
}
@media (min-width: 640px) {
  .founder-quote__mark { font-size: 84px; }
}
.founder-quote__bar {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(to bottom, var(--primary), rgba(76, 51, 216, 0.25));
}
.founder-quote__text {
  position: relative;
  margin: 0;
  border: 0;
  background: transparent; 
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  font-size: 20px;
  line-height: 1.32;
  text-wrap: balance;
  color: var(--muted-foreground);
  padding: 10px 0px;
}
@media (min-width: 640px) {
  .founder-quote__text { font-size: 22px; }
}
.founder-quote__caption {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
}
.founder-quote__dash {
  display: inline-block;
  height: 1px;
  width: 32px;
  background: var(--foreground);
}
.founder-quote__name {
  font-weight: 600;
  color: var(--foreground);
}
/* ============================================================
   BLOG DETAIL (Prose)
   ============================================================ */
.article-header {
  padding: 64px 0 32px;
}
@media (min-width: 640px) {
  .article-header { padding: 80px 0 40px; }
}
.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.article-header__category {
  color: var(--primary);
  font-weight: 600;
}
.article-header__dot {
  opacity: 0.4;
}
.article-header__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--foreground);
}
.article-header__excerpt {
  margin-top: 16px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.article-cover {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 40px;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}
/* Prose content */
.prose {
  /*max-width: 720px;*/
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--foreground);
}
.prose > * + * {
  margin-top: 1.5em;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.625em;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  color: var(--foreground);
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25em;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: var(--foreground);
}
.prose p {
  color: color-mix(in oklab, var(--foreground) 85%, var(--muted-foreground));
}
.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(76, 51, 216, 0.3);
  transition: text-decoration-color 0.2s;
}
.prose a:hover {
  text-decoration-color: var(--primary);
}
.prose strong {
  font-weight: 600;
  color: var(--foreground);
}
.prose ul,
.prose ol {
  padding-left: 1.5em;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li {
  margin-top: 0.5em;
  padding-left: 0.375em;
}
/* ============================================================
   HOMEPAGE HERO SECTION
   ============================================================ */
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    gap: 64px;
    align-items: center;
  }
}
.hero-content {
  flex: 1;
  z-index: 10;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--foreground);
  margin-bottom: 20px;
}
.hero-title__primary {
  display: block;
  background: linear-gradient(135deg, var(--primary), #7c66f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title__secondary {
  display: block;
  font-weight: 400;
  color: var(--muted-foreground);
  font-size: 0.85em;
  letter-spacing: -0.02em;
}
.hero-description {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted-foreground);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.24s var(--ease-out);
  white-space: nowrap;
  user-select: none;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  padding: 10px 20px;
}
.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--primary);
}
.btn--primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(76, 51, 216, 0.3);
}
.btn--primary:active {
  transform: scale(0.98);
}
.btn--secondary {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn--secondary:hover {
  border-color: var(--border-strong);
  background: rgba(26, 24, 20, 0.02);
  transform: translateY(-2px);
}
html.dark .btn--secondary:hover {
  background: rgba(250, 250, 249, 0.02);
}
.btn--secondary:active {
  transform: scale(0.98);
}
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.hero-avatar {
  position: relative;
  width: 200px;
  height: 200px;
}
@media (min-width: 768px) {
  .hero-avatar {
    width: 240px;
    height: 240px;
  }
}
.hero-avatar__image {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  color: var(--primary);
  overflow: hidden;
  background: var(--subtle);
}
.hero-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-avatar__initials {
  display: none;
}
.hero-status {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground);
}
.hero-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
/* ============================================================
   FEATURED POSTS SECTION
   ============================================================ */
.featured-posts {
  padding: 4rem 0;
}
.section-description {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.24s var(--ease-out);
}
.section-link:hover {
  gap: 10px;
  color: var(--primary-hover);
}
.section-link__icon {
  width: 16px !important;
  height: 16px !important;
}
/* ============================================================
   TECHNOLOGIES SECTION
   ============================================================ */
.technologies {
  padding: 80px 0;
  background: rgba(26, 24, 20, 0.02);
}
html.dark .technologies {
  background: rgba(250, 250, 249, 0.02);
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.tech-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.24s var(--ease-out);
  text-align: center;
}
.tech-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(26, 24, 20, 0.1);
}
html.dark .tech-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.tech-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(76, 51, 216, 0.1), rgba(124, 102, 240, 0.05));
  border: 1px solid rgba(76, 51, 216, 0.2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}
.tech-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--foreground);
  margin-bottom: 8px;
}
.tech-card__description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
}
/* ============================================================
   CONTACT CTA SECTION
   ============================================================ */
.contact-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(76, 51, 216, 0.05), rgba(124, 102, 240, 0.03));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
html.dark .contact-cta {
  background: linear-gradient(135deg, rgba(76, 51, 216, 0.08), rgba(124, 102, 240, 0.05));
}
.contact-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .contact-cta__inner {
    flex-direction: row;
    gap: 48px;
    align-items: center;
    justify-content: space-between;
  }
}
.contact-cta__content {
  flex: 1;
}
.contact-cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--foreground);
  margin-bottom: 12px;
}
.contact-cta__description {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.contact-cta__actions {
  flex-shrink: 0;
}
.prose li::marker {
  color: var(--muted-foreground);
}
.prose blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1.25em;
  font-style: italic;
  color: var(--muted-foreground);
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: rgba(76, 51, 216, 0.06);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--primary);
}
html.dark .prose code {
  background: rgba(124, 102, 240, 0.12);
}
.prose pre {
  background: #1e1e2e;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.7;
}
.prose pre code {
  background: none;
  border-radius: 0;
  padding: 0;
  color: #cdd6f4;
  font-size: inherit;
}
.prose img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.prose hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2.5em 0;
}
/* Related posts */
.related-posts {
  padding: 48px 0 64px;
}
@media (min-width: 640px) {
  .related-posts { padding: 56px 0 80px; }
}
/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: inline-flex;
  height: 40px;
  width: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out);
  pointer-events: none;
}
.scroll-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-to-top:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-balance { text-wrap: balance; }
/* Overflow hidden for body when mobile menu is open */
body.overflow-hidden {
  overflow: hidden;
}
/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
/* Featured Posts Cards (Homepage) */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 24px;
  transition: all 0.24s var(--ease-out);
  overflow: hidden;
}
.post-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(26, 24, 20, 0.15);
}
html.dark .post-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.post-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--foreground);
  margin-bottom: 12px;
  transition: color 0.24s var(--ease-out);
}
.post-card__title a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.post-card:hover .post-card__title a {
  color: var(--primary);
}
.post-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.post-card__date {
  color: var(--primary);
  font-weight: 600;
}
/* ============================================================
   Theme Toggle Button
   ============================================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.theme-toggle:hover {
  background: var(--subtle);
  border-color: var(--primary);
}
.theme-toggle__icon {
  position: absolute;
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  fill: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  transform: rotate(-90deg);
}
.theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0deg);
}
html.dark .theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(90deg);
}
html.dark .theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0deg);
}
.theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(-90deg);
}
/* ============================================================
   Header Search
   ============================================================ */
.header-search {
  position: relative;
}
.header-search__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 48px;
  max-width: 280px;
  transition: all 0.3s ease;
}
.header-search__input {
  width: 100%;
  padding: 8px 12px 8px 40px;
  background: var(--subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--foreground);
  font-size: 13px;
  font-family: inherit;
  transition: all 0.2s;
  outline: none;
  opacity: 1;
  visibility: visible;
}
.header-search__input:focus {
  border-color: var(--primary);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(37, 67, 235, 0.1);
}
.header-search__input::placeholder {
  color: var(--muted-foreground);
}
/* Collapsed state - search icon visible only */
.header-search__wrapper:not(:focus-within) .header-search__input {
  width: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  border: none;
  background: transparent;
}
.header-search__btn {
  position: absolute;
  left: 8px;
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  padding: 0;
}
.header-search__btn:hover {
  color: var(--primary);
}
.header-search__btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.header-search__results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
  min-width: 300px;
}
html.dark .header-search__results {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.search-result-item {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: all 0.2s;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background: var(--subtle);
  color: var(--primary);
}
.search-result-item__title {
  font-weight: 500;
  font-size: 14px;
  color: var(--foreground);
  margin-bottom: 4px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-item__category {
  font-size: 12px;
  color: var(--muted-foreground);
  font-weight: 400;
}
.search-result-empty {
  padding: 20px 16px;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 13px;
}
@media (max-width: 768px) {
  .header-search__wrapper {
    min-width: auto;
    width: auto;
    max-width: none;
  }
  .header-search__wrapper:not(:focus-within) .header-search__input {
    width: auto;
    opacity: 1;
    visibility: visible;
    position: absolute;
    left: 0;
    right: 0;
  }
  .header-search__results {
    min-width: 100%;
    max-height: 300px;
  }
}
.underline-link {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.underline-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px; 
  width: 100%;
  height: 2px; 
  background: currentColor;

  transform: scaleX(0);
  transform-origin: left;  /*--center*/

  transition: transform .35s ease;
}

.underline-link:hover::after {
  transform: scaleX(1);
}
/*.about-content{*/
/*  text-wrap: balance;*/
/*}*/
.about-content p{
  margin: 0.6rem 0;
}
.about-content header{
  margin: 1.2rem 0;
}
.about-content section{
  margin: 1.2rem 0;
}
.about-content  .about_number_section{
  padding-left: 20px;
  border-left: 2px solid var(--primary);
  margin: 3rem 0;
}
.about-content  .about_number_section h3{
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .15em;
  margin-bottom: 8px;
}
.text-gradient{
  background:linear-gradient(90deg,#4f46e5,#06b6d4);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.card-style-1::after{
  content:"";
  position:absolute;
  inset:0;
  background:
          repeating-linear-gradient(
                  -45deg,
                  transparent,
                  transparent 24px,
                  rgba(99,102,241,.05) 24px,
                  rgba(99,102,241,.05) 25px);
  opacity:.7;
} 
.card-style-2::after{
  content:"";
  position:absolute;
  width:600px;
  height:600px;
  right:-260px;
  bottom:-260px;
  border-radius:50%;
  background:
          radial-gradient(circle,
          rgba(99,102,241,.08),
          transparent 70%);
  filter:blur(50px);
  pointer-events:none;
} 