/* ========== CSS Variables ========== */
:root {
  --background: 255 255 255;
  --foreground: 17 17 17;
  --muted: 107 114 128;
  --accent: 37 99 235;
  --accent-soft: 37 99 235;
  --border: 236 236 236;
  --card: 255 255 255;
  --card-foreground: 17 17 17;
  --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 0.75rem;
  --content-max: 1200px;
  --section-space: 8rem;
}

[data-theme="dark"] {
  --background: 10 10 10;
  --foreground: 250 250 250;
  --muted: 156 163 175;
  --accent: 59 130 246;
  --accent-soft: 59 130 246;
  --border: 39 39 42;
  --card: 18 18 20;
  --card-foreground: 250 250 250;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-inter);
  background-color: rgb(var(--background));
  color: rgb(var(--foreground));
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  min-height: 100vh;
}

::selection {
  background-color: rgb(var(--accent) / 0.2);
}

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

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

ul {
  list-style: none;
}

/* ========== Utilities ========== */
.content-width {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .content-width { padding: 0 2rem; }
}
@media (min-width: 1024px) {
  .content-width { padding: 0 3rem; }
}

.section-spacing {
  padding: var(--section-space) 0;
}
@media (min-width: 768px) {
  .section-spacing { --section-space: 10rem; }
}
@media (min-width: 1024px) {
  .section-spacing { --section-space: 12rem; }
}

.border-t {
  border-top: 1px solid rgb(var(--border));
}

.border-b {
  border-bottom: 1px solid rgb(var(--border));
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.text-4xl { font-size: 2.5rem; }
.text-5xl { font-size: 3.25rem; }
.text-6xl { font-size: 4rem; }
.text-7xl { font-size: 5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

@media (min-width: 640px) {
  .sm\:text-5xl { font-size: 3.25rem; }
  .sm\:text-xl { font-size: 1.25rem; }
}
@media (min-width: 768px) {
  .md\:text-5xl { font-size: 3.25rem; }
  .md\:text-6xl { font-size: 4rem; }
}
@media (min-width: 1024px) {
  .lg\:text-7xl { font-size: 5rem; }
}

.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.06em; }

/* ========== Colors ========== */
.text-foreground { color: rgb(var(--foreground)); }
.text-muted { color: rgb(var(--muted)); }
.text-accent { color: rgb(var(--accent)); }
.text-background { color: rgb(var(--background)); }
.text-white { color: #ffffff; }

.bg-background { background-color: rgb(var(--background)); }
.bg-foreground { background-color: rgb(var(--foreground)); }
.bg-accent { background-color: rgb(var(--accent)); }
.bg-accent\/10 { background-color: rgb(var(--accent) / 0.08); }
.bg-foreground\/5 { background-color: rgb(var(--foreground) / 0.04); }
.bg-transparent { background-color: transparent; }
.bg-card { background-color: rgb(var(--card)); }
.text-card-foreground { color: rgb(var(--card-foreground)); }

.border-border { border-color: rgb(var(--border)); }
.border-accent\/20 { border-color: rgb(var(--accent) / 0.2); }

/* ========== Layout Helpers ========== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
}

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.shrink-0 { flex-shrink: 0; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 40rem; }
.max-w-xl { max-width: 36rem; }
.max-w-xs { max-width: 20rem; }
.max-w-prose { max-width: 38rem; }

/* ========== Spacing ========== */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }

.p-0 { padding: 0; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-32 { padding-bottom: 8rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

.w-1\.5 { width: 0.375rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-auto { width: auto; }
.h-1\.5 { height: 0.375rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }

.space-y-2-5 > * + * { margin-top: 0.625rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* ========== Skip Link ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: rgb(var(--accent));
  color: #fff;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s, border-color 0.3s;
  height: 4rem;
}

.site-header.scrolled {
  background-color: rgb(var(--background) / 0.72);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgb(var(--border));
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.04);
}

[data-theme="dark"] .site-header.scrolled {
  background-color: rgb(var(--background) / 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.site-header nav {
  height: 4rem;
}

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

.logo img {
  height: 2rem;
  width: auto;
  transition: opacity 0.3s;
}

[data-theme="dark"] .logo img {
  filter: invert(1);
}

.footer-logo-link img {
  height: 1.75rem;
  width: auto;
  transition: opacity 0.2s;
}

.footer-logo-link:hover img {
  opacity: 0.8;
}

[data-theme="dark"] .footer-logo-link img {
  filter: invert(1);
}

.theme-btn, .menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: rgb(var(--foreground));
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  font-size: 1rem;
}

.theme-btn {
  border: 1px solid rgb(var(--border));
  background-color: rgb(var(--foreground) / 0.04);
}

.theme-btn:hover {
  background-color: rgb(var(--accent) / 0.1);
  border-color: rgb(var(--accent) / 0.3);
  color: rgb(var(--accent));
  transform: scale(1.05);
}

.theme-icon::before {
  content: '☾';
}

[data-theme="dark"] .theme-icon::before {
  content: '☀';
}

.menu-btn:hover {
  background-color: rgb(var(--foreground) / 0.05);
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav, .mobile-nav.open { display: none; }
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav, .mobile-nav.open { display: none; }
}

.nav-desktop {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  list-style: none;
}

.nav-menu > .menu-item > a,
.nav-menu a {
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  color: rgb(var(--muted));
  display: inline-block;
  text-decoration: none;
}

.nav-menu > .menu-item > a:hover,
.nav-menu a:hover {
  color: rgb(var(--foreground));
}

.nav-menu > .current-menu-item > a,
.nav-menu > .current_page_item > a,
.nav-menu > .current-menu-ancestor > a {
  color: rgb(var(--foreground));
  font-weight: 600;
}

.nav-menu > .current-menu-item > a::after,
.nav-menu > .current_page_item > a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.25rem;
  height: 2.5px;
  background-color: rgb(var(--accent));
  border-radius: 999px;
  transition: width 0.2s;
}

.nav-menu > .current-menu-item > a:hover::after,
.nav-menu > .current_page_item > a:hover::after {
  width: 1.5rem;
}

/* Submenu dropdown */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  padding: 0.5rem;
  background: rgb(var(--background));
  border: 1px solid rgb(var(--border));
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.08);
  list-style: none;
  z-index: 51;
}

.nav-menu .menu-item-has-children {
  position: relative;
}

.nav-menu .menu-item-has-children:hover > .sub-menu {
  display: block;
}

.nav-menu .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  color: rgb(var(--muted));
}

.nav-menu .sub-menu .menu-item:last-child a {
  border-bottom: none;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav, .mobile-nav.open { display: none; }
}

/* ========== Mobile Nav ========== */
.mobile-nav {
  border-top: 1px solid rgb(var(--border));
  background-color: rgb(var(--background));
  display: none;
}

.mobile-nav.open {
  display: block;
}

.mobile-menu { list-style: none; }
.mobile-menu > .menu-item > a,
.mobile-nav a {
  display: block;
  padding: 0.75rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(var(--muted));
  transition: all 0.2s;
  text-decoration: none;
}

.mobile-menu > .current-menu-item > a,
.mobile-menu > .current_page_item > a,
.mobile-menu > .menu-item > a:hover,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: rgb(var(--foreground));
  background-color: rgb(var(--foreground) / 0.04);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: calc(var(--radius) + 0.125rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid rgb(var(--accent));
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.75rem;
}

.btn-default {
  height: 3rem;
  padding: 0 1.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 3.25rem;
  padding: 0 2.25rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: rgb(var(--foreground));
  color: rgb(var(--background));
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08), 0 1px 2px rgb(0 0 0 / 0.04);
}

.btn-primary:hover {
  background-color: rgb(var(--foreground) / 0.92);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.1), 0 2px 4px rgb(0 0 0 / 0.06);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: rgb(var(--accent));
  color: #ffffff;
  box-shadow: 0 4px 16px rgb(var(--accent) / 0.25);
}

.btn-accent:hover {
  background-color: rgb(var(--accent) / 0.92);
  box-shadow: 0 8px 28px rgb(var(--accent) / 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid rgb(var(--border));
  color: rgb(var(--foreground));
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.02);
}

.btn-outline:hover {
  background-color: rgb(var(--foreground) / 0.04);
  border-color: rgb(var(--foreground) / 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.06);
}

.btn-ghost {
  background-color: transparent;
  color: rgb(var(--muted));
}

.btn-ghost:hover {
  color: rgb(var(--foreground));
  background-color: rgb(var(--foreground) / 0.04);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: calc(var(--radius) + 0.125rem);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  padding: 0 1.75rem;
  height: 3rem;
  background-color: rgb(var(--foreground));
  color: rgb(var(--background));
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-link:hover {
  background-color: rgb(var(--foreground) / 0.92);
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.1);
  transform: translateY(-2px);
}

/* ========== Card ========== */
.card {
  border-radius: 1.25rem;
  border: 1px solid rgb(var(--border));
  background: linear-gradient(135deg, rgb(var(--card)) 0%, rgb(var(--card-foreground) / 0.02) 100%);
  color: rgb(var(--card-foreground));
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
              border-color 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.07), 0 4px 8px rgb(0 0 0 / 0.04);
  border-color: rgb(var(--accent) / 0.15);
}

[data-theme="dark"] .card:hover {
  border-color: rgb(var(--accent) / 0.2);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.25);
}

.card-content {
  padding: 2rem;
}

@media (min-width: 640px) {
  .card-content { padding: 2.5rem; }
}

/* ========== Hero ========== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.78fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  width: 100%;
}

.hero-copy {
  max-width: 47rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  color: rgb(var(--muted));
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background-color: rgb(var(--accent));
  box-shadow: 0 0 0 0.375rem rgb(var(--accent) / 0.1);
}

.hero-title {
  max-width: 46rem;
  font-size: 2rem;
  line-height: 1.06;
  letter-spacing: 0;
  color: rgb(var(--foreground));
}

.hero-lede {
  max-width: 42rem;
  margin-top: 1.75rem;
  color: rgb(var(--muted));
  font-size: 1.125rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid rgb(var(--border));
  border-radius: 1rem;
  background-color: rgb(var(--border));
}

.hero-proof div {
  min-width: 0;
  padding: 1.125rem;
  background-color: rgb(var(--background));
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: rgb(var(--foreground));
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-proof span {
  margin-top: 0.35rem;
  color: rgb(var(--muted));
  font-size: 0.8125rem;
  line-height: 1.5;
}

.hero-visualization {
  position: relative;
  min-height: 34rem;
  pointer-events: none;
  user-select: none;
}

.hero-system-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(var(--border));
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgb(var(--card)) 0%, rgb(var(--background)) 100%);
  box-shadow:
    0 26px 70px rgb(0 0 0 / 0.1),
    0 1px 0 rgb(255 255 255 / 0.7) inset;
}

[data-theme="dark"] .hero-system-panel {
  box-shadow:
    0 30px 80px rgb(0 0 0 / 0.35),
    0 1px 0 rgb(255 255 255 / 0.05) inset;
}

.hero-window-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgb(var(--border));
  background-color: rgb(var(--foreground) / 0.025);
}

.hero-window-bar span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background-color: rgb(var(--muted) / 0.38);
}

.hero-window-bar p {
  margin-left: auto;
  color: rgb(var(--muted));
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-panel-body {
  padding: 1.35rem;
}

.hero-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgb(var(--border));
  border-radius: 1rem;
  background-color: rgb(var(--foreground) / 0.025);
}

.hero-panel-header span,
.hero-panel-header strong {
  display: block;
}

.hero-panel-header span {
  color: rgb(var(--muted));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-panel-header strong {
  margin-top: 0.35rem;
  color: rgb(var(--foreground));
  font-size: 1.1rem;
  letter-spacing: 0;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  height: 1.875rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  background-color: rgb(var(--accent) / 0.1);
  color: rgb(var(--accent));
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-status span {
  width: 0.425rem;
  height: 0.425rem;
  border-radius: 999px;
  background-color: currentColor;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.hero-metrics div {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgb(var(--border));
  border-radius: 0.875rem;
  background-color: rgb(var(--card));
}

.hero-metrics span,
.hero-metrics strong {
  display: block;
}

.hero-metrics span {
  color: rgb(var(--muted));
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-metrics strong {
  margin-top: 0.45rem;
  color: rgb(var(--foreground));
  font-size: 0.95rem;
  letter-spacing: 0;
}

.hero-workflow {
  display: grid;
  gap: 0.625rem;
  margin-top: 1rem;
}

.hero-workflow div {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 3.35rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgb(var(--border));
  border-radius: 0.875rem;
  background:
    linear-gradient(90deg, rgb(var(--accent) / 0.08), transparent 62%);
  color: rgb(var(--foreground));
  font-size: 0.875rem;
  font-weight: 700;
}

.hero-workflow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 999px;
  background-color: rgb(var(--accent));
  color: #ffffff;
  font-size: 0.75rem;
}

.hero-code-block {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding: 1.125rem;
  border-radius: 0.875rem;
  background-color: rgb(var(--foreground));
}

.hero-code-block span {
  display: block;
  height: 0.5rem;
  border-radius: 999px;
  background-color: rgb(var(--background) / 0.22);
}

.hero-code-block span:nth-child(1) { width: 58%; }
.hero-code-block span:nth-child(2) { width: 84%; }
.hero-code-block span:nth-child(3) { width: 68%; }
.hero-code-block span:nth-child(4) { width: 42%; }

.hero-floating-note {
  position: absolute;
  display: grid;
  gap: 0.125rem;
  width: 12.5rem;
  padding: 1rem;
  border: 1px solid rgb(var(--border));
  border-radius: 1rem;
  background-color: rgb(var(--background) / 0.9);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.08);
  color: rgb(var(--muted));
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-floating-note span {
  color: rgb(var(--foreground));
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-floating-note:nth-child(2) {
  right: 0;
  top: 4.25rem;
}

.hero-floating-note:nth-child(3) {
  left: 0;
  bottom: 3rem;
}

@media (min-width: 1024px) {
  .hero-floating-note:nth-child(2) {
    right: -1.25rem;
  }
  .hero-floating-note:nth-child(3) {
    left: -1.75rem;
  }
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
    line-height: 1.06;
  }
}

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

  .hero-copy {
    max-width: 52rem;
  }

  .hero-visualization {
    max-width: 38rem;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    font-size: 2.75rem;
    line-height: 1.06;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-visualization {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section *,
  .hero-section *::before,
  .hero-section *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== Homepage Sections ========== */
.home-proof-section {
  padding: 3rem 0;
}

.home-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgb(var(--border));
  border-radius: 1.25rem;
  background-color: rgb(var(--border));
}

.home-proof-item {
  min-width: 0;
  padding: 1.5rem;
  background-color: rgb(var(--background));
}

.home-proof-item span {
  display: block;
  color: rgb(var(--accent));
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.home-proof-item strong {
  display: block;
  margin-top: 0.75rem;
  color: rgb(var(--foreground));
  font-size: 1rem;
  letter-spacing: 0;
}

.home-proof-item p {
  margin-top: 0.45rem;
  color: rgb(var(--muted));
  font-size: 0.875rem;
  line-height: 1.6;
}

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

.home-section-muted {
  background-color: rgb(var(--foreground) / 0.025);
}

.section-kicker {
  display: block;
  margin-bottom: 1rem;
  color: rgb(var(--accent));
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-heading-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.section-title {
  max-width: 45rem;
  color: rgb(var(--foreground));
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-top: 0.5rem;
}

.section-lede {
  color: rgb(var(--muted));
  font-size: 1.0625rem;
  line-height: 1.75;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.25rem;
}

.capability-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid rgb(var(--border));
  border-radius: 1.25rem;
  background-color: rgb(var(--background));
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.025);
}

.capability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background-color: rgb(var(--accent) / 0.08);
  color: rgb(var(--accent));
}

.capability-icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.capability-card h3 {
  margin-top: 1.5rem;
  color: rgb(var(--foreground));
  font-size: 1.25rem;
  letter-spacing: 0;
}

.capability-card p {
  margin-top: 0.75rem;
  color: rgb(var(--muted));
  font-size: 0.95rem;
  line-height: 1.7;
}

.capability-card ul {
  display: grid;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(var(--border));
}

.capability-card li {
  position: relative;
  padding-left: 1rem;
  color: rgb(var(--foreground));
  font-size: 0.875rem;
  font-weight: 600;
}

.capability-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background-color: rgb(var(--accent));
}

.partnership-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.75fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.partner-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 2rem;
}

.partner-types span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.875rem;
  border: 1px solid rgb(var(--border));
  border-radius: 999px;
  background-color: rgb(var(--background));
  color: rgb(var(--foreground));
  font-size: 0.8125rem;
  font-weight: 700;
}

.process-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgb(var(--border));
  border-radius: 1.25rem;
  background-color: rgb(var(--border));
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.06);
}

.process-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.35rem;
  background-color: rgb(var(--background));
}

.process-row > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: rgb(var(--accent));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.process-row h3 {
  color: rgb(var(--foreground));
  font-size: 1rem;
  letter-spacing: 0;
}

.process-row p {
  margin-top: 0.45rem;
  color: rgb(var(--muted));
  font-size: 0.9rem;
  line-height: 1.65;
}

.principles-section {
  background-color: #1a1a1e;
  color: #f0f0f0;
}

[data-theme="dark"] .principles-section {
  background-color: #0e0e12;
}

.principles-section .section-title {
  color: #f0f0f0;
}

.principles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.7fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.principle-list {
  display: grid;
  gap: 0.75rem;
}

.principle-list div {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 3.25rem;
  padding: 0.875rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0.875rem;
  background-color: rgb(255 255 255 / 0.035);
  color: #f0f0f0;
  font-weight: 700;
}

.principle-list span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background-color: rgb(var(--accent));
  flex-shrink: 0;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgb(var(--border));
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgb(var(--foreground) / 0.035), transparent 58%),
    rgb(var(--background));
}

.contact-band h2 {
  max-width: 42rem;
  color: rgb(var(--foreground));
  font-size: 2.5rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-band p {
  max-width: 40rem;
  margin-top: 1rem;
  color: rgb(var(--muted));
  font-size: 1rem;
  line-height: 1.7;
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  min-width: 16rem;
}

.contact-link {
  color: rgb(var(--muted));
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s;
}

.contact-link:hover {
  color: rgb(var(--accent));
}

@media (max-width: 1024px) {
  .section-heading-grid,
  .partnership-layout,
  .principles-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

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

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

  .home-section {
    padding: 4.5rem 0;
  }

  .section-title,
  .contact-band h2 {
    font-size: 2rem;
  }

  .contact-actions,
  .contact-actions .btn {
    width: 100%;
  }
}

/* ========== Highlight Cards Icons ========== */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  background-color: rgb(var(--accent) / 0.08);
  flex-shrink: 0;
  transition: background-color 0.3s, transform 0.3s;
}

.card:hover .icon-box {
  background-color: rgb(var(--accent) / 0.14);
  transform: scale(1.06);
}

.icon-box svg {
  width: 1.375rem;
  height: 1.375rem;
  color: rgb(var(--accent));
  stroke-width: 1.75;
}

/* ========== Approach / Collaboration Icons ========== */
.icon-box-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.875rem;
  background-color: rgb(var(--accent) / 0.08);
  flex-shrink: 0;
  transition: background-color 0.3s, transform 0.3s;
}

.card:hover .icon-box-lg {
  background-color: rgb(var(--accent) / 0.14);
  transform: scale(1.06);
}

.icon-box-lg svg {
  width: 1.625rem;
  height: 1.625rem;
  color: rgb(var(--accent));
  stroke-width: 1.75;
}

/* ========== Collaboration Partner Card ========== */
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgb(var(--border));
  background-color: rgb(var(--background));
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: default;
}

.partner-card:hover {
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.06);
  border-color: rgb(var(--accent) / 0.2);
  transform: translateY(-3px);
}

/* ========== Callout Box ========== */
.callout-box {
  padding: 2.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgb(var(--border));
  background: linear-gradient(135deg, rgb(var(--foreground) / 0.025) 0%, transparent 100%);
}

@media (min-width: 640px) {
  .callout-box { padding: 3.5rem; }
}

/* ========== Philosophy bullet ========== */
.bullet {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background-color: rgb(var(--accent));
}

/* ========== Dark Philosophy Section ========== */
.dark-section {
  position: relative;
  background-color: #0c0c0e;
  color: #f0f0f0;
  overflow: hidden;
}

[data-theme="dark"] .dark-section {
  background-color: #060608;
}

.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.dark-section .text-foreground { color: #f0f0f0; }
.dark-section .text-muted { color: rgb(160 160 170); }
.dark-section .bullet { background-color: rgb(var(--accent)); }
.dark-section .border-t { border-top-color: rgb(255 255 255 / 0.06); }

/* Subtle glow orbs */
.dark-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.dark-glow:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  background: rgb(var(--accent) / 0.04);
}

.dark-glow:nth-child(2) {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  background: rgb(var(--accent) / 0.03);
}

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid rgb(var(--border));
  background-color: rgb(var(--foreground) / 0.018);
}

[data-theme="dark"] .site-footer {
  background-color: rgb(var(--foreground) / 0.015);
}

.footer-inner {
  padding: 3rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 2rem;
}

.footer-brand {
  padding-right: 1.5rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo-link img {
  height: 1.5rem;
  width: auto;
  transition: opacity 0.2s;
}

.footer-logo-link:hover img {
  opacity: 0.8;
}

.footer-brand-text {
  font-size: 0.875rem;
  color: rgb(var(--muted));
  line-height: 1.7;
  max-width: 24rem;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgb(var(--border));
  color: rgb(var(--muted));
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.footer-social-row a:hover {
  border-color: rgb(var(--accent) / 0.3);
  color: rgb(var(--accent));
  background: rgb(var(--accent) / 0.06);
  transform: translateY(-1px);
}

.footer-social-row a svg {
  width: 0.875rem;
  height: 0.875rem;
}

.footer-column h4.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgb(var(--muted));
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

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

.footer-link {
  font-size: 0.875rem;
  color: rgb(var(--muted));
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.footer-link:hover {
  color: rgb(var(--foreground));
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(var(--border) / 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: rgb(var(--muted));
  opacity: 0.65;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-brand-text {
    max-width: 32rem;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .footer-inner {
    padding: 2.5rem 1.5rem;
  }
  .footer-bottom {
    margin-top: 1.5rem;
  }
  .footer-brand-text {
    max-width: 100%;
  }
  .footer-column ul {
    gap: 0.35rem;
  }
}

/* ========== Scroll Reveal Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers are inline via style="transition-delay: Xs" */

/* ========== Elegant Link Underline Animation ========== */
.hover-underline {
  position: relative;
}

.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hover-underline:hover::after {
  width: 100%;
}

/* ========== Section Divider ========== */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, rgb(var(--border)), transparent);
  border: none;
}

/* ========== 404 ========== */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.not-found-content {
  max-width: 32rem;
}

.not-found-code {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgb(var(--accent) / 0.25);
  margin-bottom: 0.5rem;
}

.not-found-title {
  font-size: 2rem;
  font-weight: 700;
  color: rgb(var(--foreground));
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.not-found-desc {
  font-size: 1rem;
  color: rgb(var(--muted));
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 26rem;
}

/* ========== Rounded utilities ========== */
.rounded-xl { border-radius: var(--radius); }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.25rem; }
.rounded-full { border-radius: 9999px; }

/* ========== Shadow ========== */
.shadow-sm { box-shadow: 0 1px 3px rgb(0 0 0 / 0.04); }
.shadow-md { box-shadow: 0 4px 12px rgb(0 0 0 / 0.06); }
.shadow-lg { box-shadow: 0 8px 24px rgb(0 0 0 / 0.08); }

/* ========== Contact Page ========== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgb(var(--muted));
  opacity: 0.7;
  margin-bottom: 0.2rem;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(var(--foreground));
  transition: color 0.2s;
  display: inline-block;
}

.contact-info-value:hover {
  color: rgb(var(--accent));
}

.contact-response-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgb(var(--muted));
  padding: 0.75rem 1rem;
  border: 1px solid rgb(var(--border));
  border-radius: 0.75rem;
  background-color: rgb(var(--foreground) / 0.02);
}

.contact-form-wrap {
  border: 1px solid rgb(var(--border));
  border-radius: 1.25rem;
  padding: 2rem;
  background-color: rgb(var(--background));
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.03);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(var(--foreground));
}

.form-group input,
.form-group textarea {
  font-family: var(--font-inter);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(var(--border));
  border-radius: 0.75rem;
  background-color: rgb(var(--foreground) / 0.025);
  color: rgb(var(--foreground));
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgb(var(--accent) / 0.4);
  box-shadow: 0 0 0 3px rgb(var(--accent) / 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgb(var(--muted) / 0.6);
}

.form-group textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.75rem;
  color: rgb(var(--muted));
  opacity: 0.7;
}

.form-status {
  grid-column: 1 / -1;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-status-success {
  background-color: rgb(34 197 94 / 0.1);
  border: 1px solid rgb(34 197 94 / 0.2);
  color: rgb(21 128 61);
}

[data-theme="dark"] .form-status-success {
  background-color: rgb(34 197 94 / 0.08);
  border-color: rgb(34 197 94 / 0.15);
  color: rgb(74 222 128);
}

.form-status-error {
  background-color: rgb(239 68 68 / 0.08);
  border: 1px solid rgb(239 68 68 / 0.15);
  color: rgb(185 28 28);
}

[data-theme="dark"] .form-status-error {
  background-color: rgb(239 68 68 / 0.06);
  border-color: rgb(239 68 68 / 0.12);
  color: rgb(248 113 113);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* ========== Blog ========== */
.blog-title-link {
  transition: color 0.2s;
}
.blog-title-link:hover {
  color: rgb(var(--accent)) !important;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
  color: rgb(var(--muted));
  background: transparent;
  border: 1px solid rgb(var(--border));
  transition: all 0.2s;
}

.blog-pagination .page-numbers.current {
  background: rgb(var(--accent));
  color: #fff;
  border-color: rgb(var(--accent));
}

.blog-pagination .page-numbers:hover:not(.current) {
  color: rgb(var(--foreground));
  border-color: rgb(var(--foreground) / 0.2);
}

.blog-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgb(var(--muted));
}

.blog-content h2 { font-size: 1.75rem; color: rgb(var(--foreground)); margin-top: 2.5rem; margin-bottom: 1rem; }
.blog-content h3 { font-size: 1.35rem; color: rgb(var(--foreground)); margin-top: 2rem; margin-bottom: 0.75rem; }
.blog-content p  { margin-bottom: 1.25rem; }
.blog-content ul, .blog-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content a  { color: rgb(var(--accent)); text-decoration: underline; }
.blog-content blockquote { border-left: 3px solid rgb(var(--accent)); margin: 1.5rem 0; padding-left: 1.25rem; color: rgb(var(--foreground)); }
.blog-content code { font-size: 0.9em; background: rgb(var(--foreground) / 0.06); padding: 0.2em 0.4em; border-radius: 0.35rem; }
.blog-content pre { background: rgb(var(--foreground) / 0.04); padding: 1.25rem; border-radius: 1rem; overflow-x: auto; margin-bottom: 1.5rem; }
.blog-content pre code { background: none; padding: 0; }

/* ========== Misc ========== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.left-0 { left: 0; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.cursor-pointer { cursor: pointer; }
.text-center { text-align: center; }
.leading-relaxed { line-height: 1.7; }
.leading-tight { line-height: 1.08; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.transition-all { transition: all 0.25s; }
.duration-200 { transition-duration: 0.2s; }
.overflow-hidden { overflow: hidden; }
