:root {
  --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-heading: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* Easy Efficiency Zinc + Indigo Palette */
  --color-brand-primary: #18181b;
  --color-brand-secondary: #3f3f46;
  --color-brand-muted: #52525b;
  --color-brand-accent: #6366f1;
  --color-brand-accent-hover: #4f46e5;
  --color-brand-accent-soft: rgba(99, 102, 241, 0.1);

  --color-background: #fafafa;
  --color-surface: #ffffff;
  --color-foreground: #18181b;
  --color-border: rgba(24, 24, 27, 0.08);
  --color-border-strong: rgba(99, 102, 241, 0.35);

  --color-glass-bg: rgba(255, 255, 255, 0.88);
  --color-glass-border: rgba(24, 24, 27, 0.08);

  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;

  --shadow-sm: 0 1px 3px rgba(24, 24, 27, 0.05), 0 1px 2px rgba(24, 24, 27, 0.04);
  --shadow-glass: 0 10px 30px -10px rgba(24, 24, 27, 0.08);
  --shadow-premium: 0 20px 44px -14px rgba(99, 102, 241, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--color-background);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 100% 18%, rgba(24, 24, 27, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--color-foreground);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-brand-primary);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-brand-accent);
  outline-offset: 2px;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* Explicit SVG Icon Sizing (prevents giant unstyled SVGs) */
.eze-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.w-3 { width: 0.875rem; }
.h-3 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }

/* Top Loading Bar (< 50ms instant feedback) */
#eze-top-loader {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-brand-primary), var(--color-brand-accent));
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
}

#eze-top-loader.is-active {
  opacity: 1;
}

/* Layout Container — Single padding layer on mobile */
.eze-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}

@media (min-width: 640px) {
  .eze-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Floating Pill Header */
.eze-header-wrap {
  position: sticky;
  top: 0.75rem;
  z-index: 50;
  padding: 0 0.875rem;
  margin-top: 0.75rem;
  pointer-events: none;
}

@media (min-width: 640px) {
  .eze-header-wrap {
    padding: 0 1.5rem;
  }
}

.eze-header {
  pointer-events: auto;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 1rem;
  background: var(--color-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-glass-border);
  border-radius: 9999px;
  box-shadow: var(--shadow-glass);
  transition: max-width 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .eze-header {
    padding: 0.6875rem 1.375rem;
  }
}

.eze-header.is-scrolled {
  max-width: 1060px;
  box-shadow: var(--shadow-premium);
}

.eze-header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: 0;
}

.eze-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.eze-brand-img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

.eze-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-brand-primary), var(--color-brand-accent));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px -4px rgba(99, 102, 241, 0.45);
}

.eze-brand-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-brand-primary);
  white-space: nowrap;
}

.eze-brand-dot {
  color: var(--color-brand-accent);
}

.eze-nav {
  display: none;
  align-items: center;
  gap: 1.625rem;
}

@media (min-width: 920px) {
  .eze-nav {
    display: flex;
  }
}

.eze-nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand-secondary);
  white-space: nowrap;
}

.eze-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 9999px;
  background: var(--color-brand-accent);
  transition: width 0.2s ease;
}

.eze-nav-link:hover {
  color: var(--color-brand-primary);
}

.eze-nav-link:hover::after {
  width: 100%;
}

.eze-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eze-search-box {
  position: relative;
  display: none;
}

@media (min-width: 640px) {
  .eze-search-box {
    display: block;
  }
}

.eze-search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-brand-muted);
  display: inline-flex;
  pointer-events: none;
}

.eze-search-input {
  width: 185px;
  height: 38px;
  padding: 0 1rem 0 2.35rem;
  font-size: 0.875rem;
  color: var(--color-brand-primary);
  background: #f4f4f5;
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  outline: none;
  transition: width 0.22s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.eze-search-input::placeholder {
  color: #71717a;
}

.eze-search-input:focus {
  width: 235px;
  background: #ffffff;
  border-color: var(--color-brand-accent);
}

.eze-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  color: var(--color-brand-primary);
  background: #f4f4f5;
  border: 1px solid var(--color-border);
}

@media (min-width: 920px) {
  .eze-mobile-toggle {
    display: none;
  }
}

.eze-mobile-drawer {
  position: fixed;
  inset: 0;
  top: 76px;
  z-index: 45;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  padding: 1.25rem;
  overflow-y: auto;
  pointer-events: auto;
}

@media (min-width: 920px) {
  .eze-mobile-drawer {
    display: none !important;
  }
}

.eze-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.eze-mobile-nav-link {
  display: block;
  padding: 0.8125rem 1rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-brand-primary);
  background: #f4f4f5;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

/* Cards, Badges & Buttons */
.eze-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eze-card-hover {
  cursor: pointer;
}

.eze-card-hover:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-premium);
}

.eze-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  border-radius: 9999px;
  background: var(--color-brand-primary);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  border: 1px solid var(--color-brand-primary);
  box-shadow: 0 8px 20px -6px rgba(24, 24, 27, 0.3);
}

.eze-btn-primary:hover {
  background: var(--color-brand-accent-hover);
  border-color: var(--color-brand-accent-hover);
  box-shadow: 0 12px 24px -6px rgba(99, 102, 241, 0.35);
}

.eze-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--color-brand-primary);
  font-size: 0.9375rem;
  font-weight: 700;
  border: 1px solid rgba(24, 24, 27, 0.14);
  box-shadow: var(--shadow-sm);
}

.eze-btn-secondary:hover {
  border-color: var(--color-brand-accent);
  color: var(--color-brand-accent-hover);
  background: #f5f3ff;
}

.eze-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-brand-accent-soft);
  color: var(--color-brand-accent-hover);
  border: 1px solid rgba(99, 102, 241, 0.22);
}

.eze-badge-dark {
  background: rgba(99, 102, 241, 0.22);
  color: #c7d2fe;
  border-color: rgba(165, 180, 252, 0.3);
}

/* Hero Section */
.eze-hero {
  position: relative;
  padding: 3.25rem 0 2.75rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .eze-hero {
    padding: 5.25rem 0 4.25rem;
  }
}

.eze-hero-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.375rem;
}

.eze-hero-title {
  font-size: clamp(2.25rem, 5.2vw, 4.35rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--color-brand-primary);
}

.eze-hero-highlight {
  position: relative;
  display: inline-block;
  color: var(--color-brand-accent);
}

#typewriter::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.8em;
  background: var(--color-brand-accent);
  margin-left: 4px;
  vertical-align: middle;
  animation: eze-blink 1s step-end infinite;
}

@keyframes eze-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.eze-hero-subtitle {
  max-width: 650px;
  font-size: 1.0625rem;
  color: var(--color-brand-secondary);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .eze-hero-subtitle {
    font-size: 1.1875rem;
  }
}

.eze-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 0.375rem;
}

/* Sections */
.eze-section {
  padding: 2.75rem 0;
}

@media (min-width: 768px) {
  .eze-section {
    padding: 4.25rem 0;
  }
}

.eze-section-head {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .eze-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.eze-section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-top: 0.5rem;
}

.eze-section-desc {
  max-width: 600px;
  color: var(--color-brand-secondary);
  margin-top: 0.5rem;
}

/* Pillars Grid */
.eze-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .eze-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .eze-pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.eze-pillar-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.625rem;
}

.eze-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.eze-pillar-icon.is-zinc {
  background: var(--color-brand-primary);
}

.eze-pillar-icon.is-indigo {
  background: linear-gradient(135deg, var(--color-brand-accent), var(--color-brand-accent-hover));
}

.eze-pillar-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-brand-accent-hover);
  margin-bottom: 0.35rem;
}

.eze-pillar-title {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.eze-pillar-desc {
  font-size: 0.9375rem;
  color: var(--color-brand-secondary);
  line-height: 1.6;
}

.eze-pillar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-brand-primary);
}

.eze-pillar-card:hover .eze-pillar-cta {
  color: var(--color-brand-accent-hover);
}

/* Bento & Post Cards */
.eze-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .eze-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eze-bento-featured {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .eze-bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .eze-bento-featured {
    grid-column: span 2;
  }
}

.eze-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .eze-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .eze-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.eze-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.eze-post-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-premium);
}

@media (min-width: 768px) {
  .eze-post-card.is-featured {
    flex-direction: row;
    min-height: 360px;
  }
}

.eze-post-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f4f4f5, #eef2ff);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .eze-post-card.is-featured .eze-post-thumb {
    width: 48%;
    aspect-ratio: auto;
  }
}

.eze-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.eze-post-card:hover .eze-post-thumb img {
  transform: scale(1.03);
}

.eze-post-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-accent);
}

.eze-post-cat {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  padding: 0.3rem 0.725rem;
  border-radius: 9999px;
  background: rgba(24, 24, 27, 0.86);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.eze-post-body {
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 1rem;
}

@media (min-width: 768px) {
  .eze-post-card.is-featured .eze-post-body {
    width: 52%;
    padding: 2rem;
  }
}

.eze-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-brand-muted);
  margin-bottom: 0.625rem;
}

.eze-post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
}

.eze-post-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.32;
  margin-bottom: 0.6rem;
  color: var(--color-brand-primary);
}

.eze-post-card.is-featured .eze-post-title {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

.eze-post-card:hover .eze-post-title {
  color: var(--color-brand-accent-hover);
}

.eze-post-excerpt {
  font-size: 0.9375rem;
  color: var(--color-brand-secondary);
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eze-post-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-brand-accent-hover);
}

/* Newsletter CTA Box */
.eze-newsletter-box {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  padding: 2.5rem 1.375rem;
  background: linear-gradient(135deg, #18181b 0%, #27272a 55%, #312e81 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-premium);
}

@media (min-width: 768px) {
  .eze-newsletter-box {
    padding: 4.25rem 3rem;
  }
}

.eze-newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.eze-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .eze-newsletter-form {
    flex-direction: row;
  }
}

.eze-newsletter-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

.eze-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.eze-newsletter-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: #818cf8;
}

.eze-newsletter-btn {
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--color-brand-primary);
  font-weight: 700;
  white-space: nowrap;
}

.eze-newsletter-btn:hover {
  background: var(--color-brand-accent);
  color: #ffffff;
}

/* Single Post & Page Layout */
.eze-page-main {
  padding: 2.25rem 0 4rem;
}

@media (min-width: 768px) {
  .eze-page-main {
    padding: 3.25rem 0 5rem;
  }
}

.eze-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brand-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.eze-breadcrumbs a:hover {
  color: var(--color-brand-accent-hover);
}

.eze-breadcrumb-current {
  color: var(--color-brand-primary);
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eze-single-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .eze-single-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 3.25rem;
  }
  .eze-single-content {
    width: 67%;
    min-width: 0;
  }
  .eze-single-sidebar {
    width: 33%;
    position: sticky;
    top: 5.75rem;
  }
}

.eze-article-header {
  margin-bottom: 1.75rem;
}

.eze-article-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0.5rem;
}

.eze-featured-media {
  margin-bottom: 2rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-glass);
}

.eze-featured-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* Key Takeaways, FAQ & Author Box (4-sided subtle borders only) */
.eze-takeaways {
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

@media (min-width: 768px) {
  .eze-takeaways {
    padding: 1.875rem;
  }
}

.eze-takeaways-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.eze-takeaways-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--color-brand-primary);
}

.eze-takeaways-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  margin-top: 0.55rem;
  background: var(--color-brand-accent);
  flex-shrink: 0;
}

.eze-faq-list {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.eze-faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
}

.eze-faq-item.is-open {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.eze-faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  text-align: left;
  font-weight: 700;
  color: var(--color-brand-primary);
}

.eze-faq-icon {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.eze-faq-item.is-open .eze-faq-icon {
  transform: rotate(180deg);
}

.eze-faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.25s ease;
}

.eze-faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-brand-secondary);
}

.eze-author-box {
  margin-top: 3rem;
  padding: 1.75rem;
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .eze-author-box {
    flex-direction: row;
    text-align: left;
    padding: 2rem;
  }
}

.eze-author-avatar {
  width: 84px;
  height: 84px;
  border-radius: 9999px;
  object-fit: cover;
  background: #f4f4f5;
  border: 2px solid rgba(99, 102, 241, 0.22);
  flex-shrink: 0;
}

/* TOC */
.eze-toc-card {
  padding: 1.375rem;
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.eze-toc-list {
  list-style: none;
  margin: 0.875rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.eze-toc-link {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-brand-secondary);
  line-height: 1.45;
}

.eze-toc-link.is-sub {
  padding-left: 0.875rem;
  font-size: 0.8125rem;
}

.eze-toc-link:hover,
.eze-toc-link.is-active {
  color: var(--color-brand-accent-hover);
  font-weight: 700;
}

/* Prose / Gutenberg Typography */
.eze-prose {
  color: var(--color-brand-primary);
  font-size: 1.0625rem;
  line-height: 1.78;
  overflow-wrap: break-word;
}

.eze-prose > * + * {
  margin-top: 1.25rem;
}

.eze-prose h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  margin-top: 2.375rem;
  margin-bottom: 0.875rem;
}

.eze-prose h3 {
  font-size: clamp(1.18rem, 2vw, 1.4rem);
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}

.eze-prose h4 {
  font-size: 1.08rem;
  margin-top: 1.5rem;
}

.eze-prose a {
  color: var(--color-brand-accent-hover);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.eze-prose a:hover {
  color: var(--color-brand-primary);
}

.eze-prose ul,
.eze-prose ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

.eze-prose li + li {
  margin-top: 0.5rem;
}

.eze-prose blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.18);
  font-style: italic;
  color: var(--color-brand-secondary);
}

.eze-prose pre {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: #18181b;
  color: #f4f4f5;
  overflow-x: auto;
  font-size: 0.875rem;
}

.eze-prose code {
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(24, 24, 27, 0.06);
  font-size: 0.9em;
}

.eze-prose pre code {
  background: transparent;
  padding: 0;
}

.eze-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  overflow-x: auto;
}

.eze-prose th,
.eze-prose td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.eze-prose th {
  background: rgba(99, 102, 241, 0.07);
  font-weight: 700;
}

.eze-prose figure {
  margin: 1.75rem 0;
}

.eze-prose figure img {
  border-radius: var(--radius-lg);
}

.eze-prose figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-brand-muted);
  text-align: center;
}

/* Single Page Container */
.eze-page-shell {
  max-width: 840px;
  margin: 0 auto;
  padding: 1.5rem 1.125rem;
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .eze-page-shell {
    padding: 3rem;
  }
}

/* Orin Form Zinc + Indigo Harmonization */
.eze-prose .orf-form {
  margin: 1.5rem 0 0 !important;
}

.eze-prose .orf-field {
  border-color: rgba(24, 24, 27, 0.14) !important;
  border-radius: 0.75rem !important;
  color: var(--color-brand-primary) !important;
}

.eze-prose .orf-field:focus {
  border-color: var(--color-brand-accent) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

.eze-prose .orf-submit-btn {
  background: var(--color-brand-primary) !important;
  border-color: var(--color-brand-primary) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 0.875rem 2rem !important;
}

.eze-prose .orf-submit-btn:hover:not(:disabled) {
  background: var(--color-brand-accent-hover) !important;
  border-color: var(--color-brand-accent-hover) !important;
  color: #ffffff !important;
}

/* Pagination */
.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-brand-primary);
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--color-brand-accent);
  border-color: var(--color-brand-accent);
  color: #ffffff;
}

/* Footer */
.eze-footer {
  margin-top: 4rem;
  padding: 4rem 0 2.5rem;
  background: #18181b;
  color: #e4e4e7;
}

.eze-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .eze-footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}

.eze-footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a1a1aa;
  margin-bottom: 1.125rem;
}

.eze-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.eze-footer-link {
  color: #d4d4d8;
  font-size: 0.9375rem;
}

.eze-footer-link:hover {
  color: #818cf8;
}

.eze-footer-bottom {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #a1a1aa;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
