/* ==========================================================================
   FABRIC API OFFICIAL STYLESHEET
   - Logo Color Scheme: Parchment Tan, Silk Cream, Charcoal Espresso, Warm Taupe
   - Headings: Motion Control Font (Gaming / Software style)
   - Body Content: Poppins at strict 17px and black text (#000000)
   - Homepage Architecture: BSL Shaders (Full-width software format)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Motion Control Custom Gaming Font */
@font-face {
  font-family: 'Motion Control';
  src: url('assets/fonts/MotionControl-Bold.woff2') format('woff2'),
    url('assets/fonts/MotionControl-Bold.woff') format('woff'),
    url('assets/fonts/MotionControl-Bold.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Motion Control';
  src: url('assets/fonts/MotionControl-BoldItalic.woff2') format('woff2'),
    url('assets/fonts/MotionControl-BoldItalic.woff') format('woff'),
    url('assets/fonts/MotionControl-BoldItalic.otf') format('opentype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   ROOT VARIABLES - FABRIC API LOGO COLOR PALETTE
   Logo Source Pixels:
   #38342a (Dark Charcoal Espresso outline - 37.4%)
   #dbd0b4 (Warm Silk / Parchment Beige - 31.9%)
   #bcb29c (Warm Taupe shadow - 12.0%)
   #c6bca5 (Linen mid-tone - 8.8%)
   #aea694 / #9a927e (Muted shadows - 8.8%)
   ========================================================================== */
:root {
  /* Typography */
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Motion Control", "Poppins", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Fabric Logo Palette */
  --fabric-dark: #38342a;
  /* Logo dominant outline color */
  --fabric-deep: #1e1b15;
  /* Deep background for header, hero, footer */
  --fabric-deep-card: #252119;
  /* Deep dark card surface */
  --fabric-light: #dbd0b4;
  /* Primary Logo Parchment / Silk cream */
  --fabric-taupe: #c6bca5;
  /* Mid-tone Logo Warm Taupe */
  --fabric-muted: #9a927e;
  /* Muted logo shadow */
  --fabric-gold: #c4a974;
  /* Rich golden fabric accent for buttons */
  --fabric-gold-light: #eeddbb;
  /* Bright gold highlight */
  --fabric-cream: #f4eee2;
  /* Rich warm parchment section background - high visual contrast against #ffffff */
  --fabric-surface: #f2ede2;
  /* Warm subtle surface */
  --fabric-border: #ded7c5;
  /* Warm subtle card border */
  --fabric-border-dark: rgba(219, 208, 180, 0.2);

  /* Semantic Aliases */
  --bg-primary: #ffffff;
  --bg-surface: var(--fabric-cream);
  --bg-subtle: #f0eae0;
  --bg-card: #ffffff;
  --bg-card-hover: #faf8f3;

  --primary: var(--fabric-gold);
  --primary-hover: #b59862;
  --primary-light: #f5f0e3;

  --text-main: #000000;
  --text-secondary: #000000;
  --text-muted: #000000;
  --text-light: #000000;

  --border-subtle: var(--fabric-border);
  --border-strong: #c6bca5;
  --border-accent: #dbd0b4;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(56, 52, 42, 0.08);
  --shadow-md: 0 4px 10px -1px rgba(56, 52, 42, 0.12), 0 2px 4px -2px rgba(56, 52, 42, 0.06);
  --shadow-lg: 0 12px 24px -4px rgba(56, 52, 42, 0.16);
  --shadow-warm: 0 10px 25px -5px rgba(196, 169, 116, 0.35);

  --max-w-content: 1120px;
  --header-height: 80px;
}

/* ==========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: #000000;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background-color: #ffffff;
  scroll-padding-top: 2rem;
}

body {
  color: #000000;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 17px;
  line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #000000;
  letter-spacing: 0.02em;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2.35rem, 4.4vw, 3rem) !important;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

p,
li {
  color: #000000;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
}

strong,
b {
  color: #000000;
  font-weight: 700;
}

a {
  color: var(--fabric-dark);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.75;
}

code,
pre {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--max-w-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   BUTTONS (Fabric Logo Color Palette)
   ========================================================================== */
.btn {
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.btn-primary,
.banner-cta-btn {
  background: linear-gradient(135deg, #e4d8be 0%, #c4a974 50%, #a88d57 100%) !important;
  color: #1e1b15 !important;
  border: 2px solid #38342a !important;
  box-shadow: 0 5px 0 #38342a !important;
}

.btn-primary:hover,
.banner-cta-btn:hover {
  background: linear-gradient(135deg, #eee7d5 0%, #d4bc8b 50%, #b89d66 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 7px 0 #38342a !important;
}

.btn-primary:active,
.banner-cta-btn:active {
  transform: translateY(3px) !important;
  box-shadow: 0 2px 0 #38342a !important;
}

.btn-secondary {
  background: #fbf9f4 !important;
  color: #1e1b15 !important;
  border: 2px solid #38342a !important;
  box-shadow: 0 4px 0 #38342a !important;
}

.btn-secondary:hover {
  background: #f2ede2 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 0 #38342a !important;
}

.btn-secondary:active {
  transform: translateY(2px) !important;
  box-shadow: 0 2px 0 #38342a !important;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.25rem;
}

/* ==========================================================================
   SITE HEADER (Deep Fabric Espresso + Warm Silk Accents)
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-height);
  background: #1e1b15;
  border-bottom: 1px solid rgba(219, 208, 180, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
  image-rendering: pixelated;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #dbd0b4;
  text-decoration: none !important;
  transition: color 0.18s ease;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
  background-color: rgba(219, 208, 180, 0.15);
}

.nav-btn {
  font-family: var(--font-heading);
  font-size: 1.05rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem !important;
  background: linear-gradient(135deg, #dbd0b4 0%, #c4a974 100%) !important;
  color: #1e1b15 !important;
  border: 2px solid #38342a !important;
  box-shadow: 0 3px 0 #38342a !important;
  border-radius: var(--radius-md) !important;
  text-decoration: none !important;
  transition: all 0.18s ease;
}

.nav-btn:hover {
  background: linear-gradient(135deg, #ede4ce 0%, #d4bc8b 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #38342a !important;
}

@media (max-width: 768px) {
  .header-nav {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .nav-btn {
    padding: 0.35rem 0.85rem !important;
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   HERO SECTION (Atmospheric Minecraft Parchment Dark)
   ========================================================================== */
.hero-section {
  position: relative;
  background-image: linear-gradient(180deg, rgba(23, 20, 15, 0.82) 0%, rgba(36, 32, 24, 0.65) 45%, rgba(24, 21, 16, 0.92) 85%, #181510 100%), url('/assets/images/minecraft-hero-bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid rgba(219, 208, 180, 0.2);
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
  overflow: hidden;
}

.hero-section.guide-hero,
.hero-section.troubleshoot-hero {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.hero-section.guide-hero {
  background-image: linear-gradient(180deg, rgba(23, 20, 15, 0.82) 0%, rgba(36, 32, 24, 0.65) 45%, rgba(24, 21, 16, 0.92) 85%, #181510 100%), url('/assets/images/minecraft-guide-hero-bg.jpg');
}

.hero-section.troubleshoot-hero {
  background-image: linear-gradient(180deg, rgba(23, 20, 15, 0.82) 0%, rgba(36, 32, 24, 0.65) 45%, rgba(24, 21, 16, 0.92) 85%, #181510 100%), url('/assets/images/minecraft-troubleshoot-hero-bg.jpg');
}

.hero-section.guide-hero .hero-container,
.hero-section.troubleshoot-hero .hero-container {
  text-align: center;
}

.hero-section.guide-hero .hero-content,
.hero-section.troubleshoot-hero .hero-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.hero-section.guide-hero .hero-title,
.hero-section.troubleshoot-hero .hero-title {
  font-size: clamp(2.3rem, 4.8vw, 3.5rem) !important;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-section.guide-hero .hero-lead,
.hero-section.troubleshoot-hero .hero-lead {
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: #dbd0b4 !important;
  width: 100%;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(219, 208, 180, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7.5vw, 4.85rem) !important;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8), 0 0 45px rgba(219, 208, 180, 0.35);
}

.hero-lead {
  font-family: var(--font-sans);
  font-size: 19px !important;
  line-height: 1.75 !important;
  color: #dbd0b4 !important;
  max-width: 740px;
  margin: 0 auto 2.5rem auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-cta-group .btn {
  min-width: 220px;
}

.hero-cta-group .btn-secondary {
  color: #ffffff !important;
  background: rgba(219, 208, 180, 0.14) !important;
  border: 2px solid #dbd0b4 !important;
  box-shadow: 0 5px 0 #000000 !important;
  backdrop-filter: blur(8px);
}

.hero-cta-group .btn-secondary:hover {
  background: rgba(219, 208, 180, 0.28) !important;
  color: #ffffff !important;
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    min-width: auto;
  }
}

/* ==========================================================================
   CONTENT SECTIONS & GENERAL LAYOUT
   ========================================================================== */
.content-section {
  background-color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

.content-section.section-cream {
  background-color: var(--fabric-cream);
  border-top: 1px solid #ded7c5;
  border-bottom: 1px solid #ded7c5;
}

.content-section.section-linen {
  background-color: var(--fabric-cream);
  border-top: 1px solid #ded7c5;
  border-bottom: 1px solid #ded7c5;
}

.content-section.section-white {
  background-color: #ffffff;
}

/* Strict Alternating Background Sections for /guide */
#quick-overview {
  background-color: var(--fabric-cream);
  border-top: 1px solid #ded7c5;
  border-bottom: 1px solid #ded7c5;
}

#playing-with-mods {
  background-color: #ffffff;
}

#mod-development {
  background-color: var(--fabric-cream);
  border-top: 1px solid #ded7c5;
  border-bottom: 1px solid #ded7c5;
}

#conclusion {
  background-color: #ffffff;
}

.section-divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent 0%, #ded7c5 20%, #ded7c5 80%, transparent 100%);
  margin: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.4vw, 3rem) !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #000000 !important;
  margin-bottom: 1.5rem;
}

.section-intro {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2.5rem auto;
  text-align: left;
}

.section-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.4vw, 3rem) !important;
  color: #000000 !important;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-lead {
  font-family: var(--font-sans);
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.85 !important;
  text-align: left;
}

/* ==========================================================================
   WHAT IS FABRIC API SECTION (#about - Clean Paragraph Layout)
   ========================================================================== */
#about {
  background-color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.what-is-fabric-content {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.what-is-fabric-content h2.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #000000 !important;
  margin-bottom: 1.5rem;
  line-height: 1.25;
  text-align: center;
}

.what-is-fabric-content p {
  font-family: var(--font-sans);
  font-size: 17px !important;
  line-height: 1.85 !important;
  color: #000000 !important;
  margin-bottom: 1.4rem;
  text-align: left;
}

.what-is-fabric-content p:last-child {
  margin-bottom: 0;
}

/* Link styling */
.content-section a:not(.btn):not(.banner-cta-btn):not(.social-btn) {
  color: #000000 !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #c4a974;
  text-decoration-thickness: 2.5px;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

.content-section a:not(.btn):not(.banner-cta-btn):not(.social-btn):hover {
  opacity: 0.8;
  text-decoration-color: #38342a;
}

/* ==========================================================================
   DOWNLOAD BANNER STACK (Signature BSL-Shaders Format with Minecraft Scenery)
   ========================================================================== */
.download-banner-section {
  position: relative;
  background-color: var(--fabric-deep);
  background-image: 
    linear-gradient(180deg, rgba(24, 21, 16, 0.88) 0%, rgba(38, 33, 24, 0.76) 50%, rgba(24, 21, 16, 0.92) 100%),
    url('assets/images/minecraft-download-bg.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 2px solid #38342a;
  border-bottom: 2px solid #38342a;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  overflow: hidden;
  box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 -20px 40px rgba(0, 0, 0, 0.6);
}

.download-banner-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(196, 169, 116, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.banner-container {
  position: relative;
  z-index: 2;
}

.banner-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.banner-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  color: #ffffff !important;
  margin-bottom: 2rem !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.85);
  width: 100%;
  max-width: 100%;
  text-align: center;
}

@media (min-width: 860px) {
  .banner-title {
    white-space: nowrap;
  }
}

.banner-logo-wrapper {
  width: 104px;
  height: 104px;
  background: rgba(43, 37, 27, 0.9);
  border: 2px solid #c4a974;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 25px rgba(196, 169, 116, 0.35);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-logo-wrapper:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 35px rgba(196, 169, 116, 0.5);
}

.banner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.banner-version {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(38, 33, 24, 0.9);
  border: 1.5px solid rgba(219, 208, 180, 0.4);
  border-radius: var(--radius-pill);
  padding: 0.38rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e8dec8;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.75rem;
}

.version-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80, 0 0 2px #4ade80;
  display: inline-block;
}

.banner-cta-btn,
.banner-cta-btn:link,
.banner-cta-btn:visited,
.banner-cta-btn:hover,
.banner-cta-btn:active,
.banner-cta-btn span {
  text-decoration: none !important;
  outline: none;
}

.banner-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: auto !important;
  min-width: 250px;
  max-width: 290px;
  padding: 1.05rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1711 !important;
  background: linear-gradient(180deg, #f4ecd8 0%, #d8bf8a 50%, #b89855 100%) !important;
  border: 2px solid #231f17 !important;
  border-radius: 12px !important;
  box-shadow: 0 5px 0 #14120d, 0 12px 24px rgba(0, 0, 0, 0.65) !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.banner-cta-btn:hover {
  background: linear-gradient(180deg, #faf5e8 0%, #e2cc98 50%, #c4a35f 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #14120d, 0 16px 30px rgba(0, 0, 0, 0.75) !important;
  color: #1a1711 !important;
}

.banner-cta-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #14120d, 0 6px 12px rgba(0, 0, 0, 0.5) !important;
}

@media (max-width: 640px) {
  .download-banner-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .banner-logo-wrapper {
    width: 88px;
    height: 88px;
  }

  .banner-cta-btn {
    min-width: 220px;
    padding: 0.95rem 1.75rem;
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   INSTALLATION SECTION (Clean Step Architecture)
   ========================================================================== */
.launcher-blocks {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.launcher-block {
  background: #ffffff;
  border: 2px solid #38342a;
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 6px 0 #38342a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.launcher-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #38342a;
}

.launcher-header {
  border-bottom: 2px solid #ded7c5;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.launcher-header h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.15rem) !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #000000 !important;
  margin: 0;
  line-height: 1.25;
}

.launcher-intro-text {
  font-family: var(--font-sans);
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.85 !important;
  margin-bottom: 1.5rem !important;
}

.step-list {
  list-style: none;
  counter-reset: fabric-step;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.step-item {
  counter-increment: fabric-step;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 0 3.25rem;
  font-family: var(--font-sans);
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.8 !important;
  transition: none;
}

.step-item:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.step-item::before {
  content: counter(fabric-step);
  position: absolute;
  top: 0.12rem;
  left: 0;
  width: 2.15rem;
  height: 2.15rem;
  background: #fdf2c5 !important;
  color: #a17b38 !important;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  border-radius: 7px;
  border: 1px solid #fae7a5 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item .step-sublist {
  list-style: none;
  margin: 0.85rem 0 0.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-item .step-sublist li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-sans);
  font-size: 16.5px !important;
  color: #1a160d !important;
  line-height: 1.75 !important;
}

.step-item .step-sublist li::before {
  content: "○";
  position: absolute;
  left: 0.2rem;
  top: 0rem;
  color: #a17b38;
  font-weight: 700;
  font-size: 1.05rem;
}

.troubleshoot-subheading {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem) !important;
  font-weight: 800 !important;
  color: #000000 !important;
  margin-top: 1.85rem !important;
  margin-bottom: 0.85rem !important;
  line-height: 1.3 !important;
}

.guide-bullet-list {
  list-style: none;
  margin: 1.25rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.guide-bullet-list li {
  position: relative;
  padding-left: 2rem;
  font-family: var(--font-sans);
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}

.guide-bullet-list li::before {
  content: "◆";
  position: absolute;
  left: 0.25rem;
  top: 0.05rem;
  color: #c4a974;
  font-size: 1.05rem;
}

mark,
.highlight-path,
.guide-highlight {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: #1a160d !important;
  background-color: #fef08a; /* Vibrant yellow highlighter matching PDF exact highlight */
  border: 1px solid #eab308;
  border-radius: 4px;
  padding: 2px 7px;
  display: inline-block;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(56, 52, 42, 0.08);
  vertical-align: baseline;
}

:not(pre) > code:not(.highlight-path) {
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: #2e2619;
  background-color: rgba(56, 52, 42, 0.07);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(56, 52, 42, 0.15);
}

/* ==========================================================================
   GUIDE STEP IMAGES & LIGHTBOX ZOOM MODAL
   ========================================================================== */
.guide-image-container,
.guide-image-wrap {
  position: relative;
  margin: 1.75rem auto 1.5rem auto !important;
  max-width: 680px;
  width: 100%;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  border: 2px solid #2d2922;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  cursor: zoom-in;
}

.guide-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  background-color: #000000;
}

.click-to-zoom-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px 5px 11px;
  background: rgba(15, 23, 42, 0.9) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.click-to-zoom-pill span {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.click-to-zoom-pill svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff !important;
  color: #ffffff !important;
  display: block;
  flex-shrink: 0;
}

/* Lightbox Modal (Click-to-Zoom) */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 15, 12, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
  max-height: 90vh;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  background: #1e1b15;
  color: #dbd0b4;
  border: 2px solid #38342a;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 0 #38342a;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: #c4a974;
  color: #1e1b15;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #38342a;
}

.lightbox-img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 2px solid #38342a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(196, 169, 116, 0.35);
  background: #1e1b15;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  margin-top: 0.85rem;
  font-family: var(--font-sans) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  letter-spacing: 0.01em;
  text-align: center;
}

@media (max-width: 640px) {
  .guide-image-container,
  .guide-image-wrap {
    margin: 1rem auto;
    width: 100%;
    max-width: 100%;
  }

  .step-item {
    padding-left: 2.75rem;
  }

  .step-item::before {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 13.5px;
    border-radius: 6px;
  }

  .click-to-zoom-pill {
    bottom: 10px;
    right: 10px;
    padding: 4px 10px;
  }

  .click-to-zoom-pill span {
    font-size: 11.5px !important;
  }

  .click-to-zoom-pill svg {
    width: 12px;
    height: 12px;
  }
}

/* ==========================================================================
   HOW FABRIC API WORKS (.passes-list format)
   ========================================================================== */
#how-it-works {
  background-color: var(--fabric-cream);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.how-it-works-content h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.how-it-works-content .intro-text {
  font-family: var(--font-sans);
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.85 !important;
  margin-bottom: 2.5rem;
  text-align: left;
}

.passes-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.pass-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid #ded7c5;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pass-card:hover {
  transform: translateY(-2px);
  border-color: #38342a;
  box-shadow: var(--shadow-md);
}

.pass-number {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  background: #f2ede2 !important;
  color: #38342a !important;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: 2px solid #38342a !important;
  box-shadow: 0 3px 0 #38342a !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pass-body {
  flex: 1;
}

.pass-body h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.15rem) !important;
  font-weight: 800;
  color: #000000 !important;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.pass-body p {
  font-family: var(--font-sans);
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.85 !important;
  margin: 0 0 1rem 0;
}

.pass-body p:last-child {
  margin-bottom: 0;
}

.pass-body .guide-bullet-list {
  margin: 1rem 0 0.5rem 0;
}

/* ==========================================================================
   VIDEO TUTORIALS
   ========================================================================== */
.video-section-content h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.video-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.video-frame-box {
  background: #ffffff;
  border: 2px solid #38342a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 0 #38342a;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-frame-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #38342a;
}

.video-responsive-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000000;
  display: block;
}

.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FEATURES SECTION (#features)
   ========================================================================== */
#features {
  background-color: #fcfaf5;
  border-top: 1px solid #ded7c5;
  border-bottom: 1px solid #ded7c5;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

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

.feature-card {
  background: #ffffff;
  border: 1.5px solid #ded7c5;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 3px 12px rgba(56, 52, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #38342a;
  box-shadow: 0 8px 24px rgba(56, 52, 42, 0.1);
}

/* Feature 1 Highlight (spans both columns for perfect balance of 7 items) */
.feature-card.feature-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
  border: 2px solid #c4a974;
  box-shadow: 0 4px 18px rgba(196, 169, 116, 0.18);
}

.feature-card.feature-card-featured:hover {
  border-color: #38342a;
  box-shadow: 0 8px 26px rgba(56, 52, 42, 0.12);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid #f2ede2;
}

.feature-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #38342a;
  color: #dbd0b4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 0 #1e1b15;
  flex-shrink: 0;
}

.feature-card-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.45rem, 2.4vw, 1.75rem) !important;
  font-weight: 800 !important;
  color: #000000 !important;
  margin: 0 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.01em !important;
}

.feature-card p {
  font-family: var(--font-sans);
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.85 !important;
  margin: 0;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card.feature-card-featured {
    grid-column: 1;
  }
}

/* ==========================================================================
   CTA BANNER SECTION (Brand-Consistent Action Banner)
   ========================================================================== */
.cta-banner-card {
  background: linear-gradient(135deg, #fdfbf7 0%, #f4efe4 100%);
  border: 2px solid #38342a;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 0 #38342a;
  padding: 3.5rem 3rem;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-banner-content {
  flex: 1;
  max-width: 620px;
}

#cta-banner .cta-banner-title,
.cta-banner-card .cta-banner-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.1rem, 3.8vw, 2.75rem) !important;
  font-weight: 800 !important;
  color: #000000 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em !important;
  margin: 0 0 1rem 0 !important;
  text-align: left !important;
}

#cta-banner .cta-banner-desc,
.cta-banner-card .cta-banner-desc {
  font-family: var(--font-sans) !important;
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  text-align: left !important;
}

.cta-banner-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.15rem 2.25rem;
  background: linear-gradient(135deg, #c4a974 0%, #b89858 100%);
  color: #1e1b15;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  border: 2px solid #38342a;
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 0 #38342a;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #38342a;
  background: linear-gradient(135deg, #dfcaa2 0%, #c4a974 100%);
  color: #000000;
}

.cta-banner-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #38342a;
}

/* Responsive CTA Banner */
@media (max-width: 900px) {
  .cta-banner-card {
    flex-direction: column;
    text-align: center;
    padding: 2.75rem 2rem;
    gap: 2rem;
  }

  .cta-banner-content {
    max-width: 100%;
  }

  #cta-banner .cta-banner-title,
  .cta-banner-card .cta-banner-title,
  #cta-banner .cta-banner-desc,
  .cta-banner-card .cta-banner-desc {
    text-align: center !important;
  }

  .cta-banner-action {
    width: 100%;
  }

  .cta-banner-btn {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 480px) {
  .cta-banner-card {
    padding: 2rem 1.25rem;
  }

  .cta-banner-btn {
    padding: 1rem 1.4rem;
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   WHY USE SECTION (3-Pillar Tactile Cards)
   ========================================================================== */
.why-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.why-card {
  background: linear-gradient(135deg, #fdfbf7 0%, #f4efe4 100%);
  border: 2px solid #38342a;
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 8px 0 #38342a;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 #38342a;
}

.why-number-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1e1b15 0%, #2b261d 100%);
  color: #c4a974 !important;
  font-family: var(--font-heading) !important;
  font-weight: 800;
  font-size: 1.35rem;
  border-radius: var(--radius-sm);
  border: 2px solid #38342a;
  box-shadow: 0 3px 0 #38342a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

#comparison .why-card-title,
.why-card .why-card-title,
.why-card h3 {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.75rem, 2.8vw, 2.15rem) !important;
  font-weight: 800 !important;
  color: #000000 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em !important;
  margin: 0 0 0.85rem 0 !important;
  text-align: left !important;
}

.why-card-divider {
  width: 44px;
  height: 3.5px;
  background: #c4a974;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.why-card-desc,
.why-card p {
  font-family: var(--font-sans) !important;
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.85 !important;
  margin: 0 !important;
  text-align: left !important;
  flex: 1;
}

/* ==========================================================================
   FAQ SECTION (Accordions)
   ========================================================================== */
#faq,
#faqs {
  background-color: var(--fabric-cream);
  border-top: 1px solid #ded7c5;
  border-bottom: 1px solid #ded7c5;
}

.faq-accordion-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.faq-details {
  border: 1px solid #ded7c5;
  border-radius: var(--radius-md);
  background: #ffffff;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-details:hover {
  border-color: #38342a;
}

.faq-details[open] {
  border-color: #38342a;
  box-shadow: 0 4px 14px rgba(56, 52, 42, 0.1);
}

.faq-summary {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000 !important;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  list-style: none;
  transition: background-color 0.2s ease;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  background: #fbf9f4;
}

.faq-summary::after {
  content: "+";
  color: #38342a;
  font-size: 1.4rem;
  font-weight: 700;
}

.faq-details[open] .faq-summary::after {
  content: "−";
}

.faq-content {
  padding: 0 1.4rem 1.4rem 1.4rem;
  background: #ffffff;
  color: #000000 !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}

/* ==========================================================================
   CONCLUSION SECTION (Full-Width Left-Aligned Layout)
   ========================================================================== */
.conclusion-content {
  width: 100%;
  max-width: 100%;
  text-align: left;
}

#conclusion .conclusion-content h2,
.conclusion-content h2 {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.35rem, 4.4vw, 3rem) !important;
  font-weight: 800 !important;
  color: #000000 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 1.25rem !important;
  text-align: left !important;
}

#conclusion .conclusion-content p,
.conclusion-content p {
  font-family: var(--font-sans) !important;
  font-size: 17px !important;
  color: #000000 !important;
  line-height: 1.85 !important;
  margin: 0 !important;
  text-align: left !important;
}



/* ==========================================================================
   SITE FOOTER (Deep Charcoal Espresso + Warm Parchment Accents)
   ========================================================================== */
.site-footer {
  color: #bcb29c;
  background: #17140f;
  border-top: 1px solid rgba(219, 208, 180, 0.2);
  padding: 4.5rem 0 2.5rem 0;
  font-size: 17px;
  line-height: 1.75;
}

.footer-container {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.65fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.footer-logo-badge {
  width: 44px;
  height: 44px;
  background: #252018;
  border: 1px solid #c4a974;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(196, 169, 116, 0.3);
}

.footer-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  image-rendering: pixelated;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.footer-title {
  font-family: var(--font-heading);
  color: #ffffff !important;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-desc {
  max-width: 420px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px !important;
  line-height: 1.8 !important;
  color: #c6bca5 !important;
}

.footer-col-title {
  font-family: var(--font-heading);
  color: #dbd0b4 !important;
  letter-spacing: 0.03em;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.footer-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-quick-links li a {
  color: #bcb29c;
  font-family: var(--font-sans);
  font-size: 17px !important;
  line-height: 1.8 !important;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-quick-links li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.newsletter-card {
  background: #221d16;
  border: 1px solid rgba(219, 208, 180, 0.2);
  border-radius: 12px;
  padding: 1.35rem 1.45rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 480px;
}

.newsletter-title {
  font-family: var(--font-heading);
  color: #dbd0b4 !important;
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.95rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.newsletter-input {
  flex: 1;
  background: #ffffff;
  color: #1e1b15;
  border: 1px solid #c6bca5;
  border-radius: 6px;
  padding: 0.72rem 1rem;
  font-size: 17px !important;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-input:focus {
  border-color: #c4a974;
  box-shadow: 0 0 0 2px rgba(196, 169, 116, 0.4);
}

.newsletter-submit-btn {
  font-family: var(--font-heading);
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(135deg, #dbd0b4 0%, #c4a974 100%) !important;
  color: #1e1b15 !important;
  border: 2px solid #38342a !important;
  border-radius: 9999px;
  padding: 0.72rem 1.6rem;
  font-size: 17px !important;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.newsletter-submit-btn:hover {
  background: linear-gradient(135deg, #ede4ce 0%, #d4bc8b 100%) !important;
  transform: translateY(-1px);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.9rem;
  cursor: pointer;
}

.newsletter-checkbox {
  accent-color: #c4a974;
  cursor: pointer;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 0.3rem;
}

.newsletter-consent-text {
  font-family: var(--font-sans);
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: #bcb29c !important;
}

.social-grid {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  max-width: 380px;
  margin-bottom: 1.85rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: linear-gradient(135deg, #dbd0b4 0%, #c4a974 100%) !important;
  color: #1e1b15 !important;
  border: 1px solid #38342a !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: linear-gradient(135deg, #ede4ce 0%, #d4bc8b 100%) !important;
  transform: translateY(-2px);
}

.social-subtitle {
  font-family: var(--font-sans);
  font-size: 17px !important;
  color: #bcb29c !important;
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
}

.footer-bottom-border {
  border-top: 1px solid rgba(219, 208, 180, 0.15);
  padding-top: 2rem;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px !important;
  color: #9a927e !important;
}

.footer-nav-bottom {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-bottom a {
  color: #bcb29c;
  font-family: var(--font-sans);
  font-size: 17px !important;
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-nav-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .newsletter-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-nav-bottom {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* ==========================================================================
   FLOATING BACK TO TOP & READING PROGRESS
   ========================================================================== */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #dbd0b4 0%, #c4a974 100%);
  color: #1e1b15;
  border: 2px solid #38342a;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #38342a;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1000;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 #38342a;
}

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #c4a974, #dbd0b4);
  z-index: 1200;
  transition: width 0.1s ease;
}

/* ==========================================================================
   STRICT USER REQUIREMENT OVERRIDES
   - Font size for main content: 17px
   - Text color for main content: Black color only (#000000)
   - Headings in Motion Control
   - Body in Poppins
   ========================================================================== */
.content-section p,
.content-section li,
.content-section dt,
.content-section dd,
.content-section span:not(.btn *):not(.banner-cta-btn *):not(.stage-badge):not(.mechanism-tag):not(.pass-number):not(.why-badge):not(.why-number-badge):not(.click-to-zoom-pill):not(.click-to-zoom-pill *):not(.guide-code-box *):not(.guide-code-header *):not(.guide-code-lang):not(.guide-code-copy-btn):not(.highlight-path),
.content-section .section-lead,
.content-section .intro-text,
.content-section .faq-content p,
.content-section .step-item,
.content-section .feature-card p,
.content-section .pass-body p,
.content-section .conclusion-content p,
.content-section .method-sub,
.content-section .launcher-note,
.content-section blockquote,
.what-is-fabric-content p,
p,
li {
  font-family: 'Poppins', sans-serif !important;
  font-size: 17px !important;
  color: #000000 !important;
  font-weight: 400;
  line-height: 1.8 !important;
}

/* Headings in content sections strictly black color */
.content-section h1,
.content-section h2,
.content-section h3,
.content-section h4 {
  color: #000000 !important;
  font-family: var(--font-heading);
}

/* Universal H2 Consistency Rule */
h2:not(.banner-title),
.section-title,
.cta-banner-title,
.section-intro h2,
.what-is-fabric-content h2,
.content-section h2 {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.35rem, 4.4vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.02em !important;
}

/* Universal H3 Consistency & Prominence Rule */
h3,
.pass-body h3,
.launcher-header h3,
.mechanism-box h3,
.feature-title,
.why-card h3,
.content-section h3 {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.75rem, 3vw, 2.15rem) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.02em !important;
  color: #000000 !important;
}

/* Universal H4 Rule */
h4,
.mechanism-card h4,
.content-section h4 {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.35rem, 2.2vw, 1.55rem) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.02em !important;
  color: #000000 !important;
}

/* Logo sharpness and rendering */
.brand-logo,
.banner-logo,
.footer-logo-img {
  image-rendering: pixelated;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Responsive tweaks */
@media (max-width: 992px) {

  .why-grid-3col,
  .video-grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Ensure Click to Zoom pill is always crystal clear with white text and icon */
.click-to-zoom-pill,
.click-to-zoom-pill * {
  color: #ffffff !important;
}

.click-to-zoom-pill span {
  font-family: var(--font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}

.click-to-zoom-pill svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
  fill: none !important;
}


/* ==========================================================================
   GUIDE PAGE SPECIFIC COMPONENTS (/guide)
   ========================================================================== */
.guide-page-hero {
  position: relative;
  background-image: linear-gradient(180deg, rgba(23, 20, 15, 0.82) 0%, rgba(36, 32, 24, 0.65) 45%, rgba(24, 21, 16, 0.92) 85%, #181510 100%), url('/assets/images/minecraft-hero-bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 6.5rem 0 5.5rem 0;
  overflow: hidden;
  border-bottom: 2px solid #38342a;
}

.guide-page-hero .hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(219, 208, 180, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.guide-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: #bcb29c;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.guide-breadcrumbs a {
  color: #c4a974;
  text-decoration: none;
  transition: color 0.18s ease;
}

.guide-breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.guide-breadcrumbs span.separator {
  color: #6a6254;
}

.guide-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff !important;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 2;
}

.guide-page-lead {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.8;
  color: #dbd0b4;
  max-width: 860px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.guide-meta-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.guide-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(219, 208, 180, 0.12);
  border: 1px solid rgba(196, 169, 116, 0.35);
  color: #fae7a5;
  font-size: 13.5px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 9999px;
}

/* Guide Table of Contents */
.guide-toc-card {
  background: #fdfbf7;
  border: 2px solid #38342a;
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 5px 0 #38342a;
}

.guide-toc-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #ded7c5;
}

.guide-toc-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #1e1b15;
  margin: 0;
  letter-spacing: 0.02em;
}

.guide-toc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem 1.5rem;
}

.guide-toc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e1b15;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.18s ease;
}

.guide-toc-link:hover {
  background: #f2e9d7;
  color: #947228;
  padding-left: 14px;
}

/* Guide Table Component - Rich Minecraft Themed Grid */
.guide-table-wrapper {
  margin: 1.5rem 0 2rem 0;
  overflow-x: auto;
  background: #ffffff;
  border: 2px solid #2b261d;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(36, 32, 24, 0.08);
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  text-align: left;
  background: #ffffff;
  border: none !important;
  min-width: 640px;
}

.guide-table thead {
  background: linear-gradient(180deg, #1e1b15 0%, #29241b 100%) !important;
  border-bottom: 3px solid #c4a974;
}

.guide-table th {
  background: transparent !important;
  color: #fae7a5 !important;
  font-family: var(--font-sans) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  padding: 1rem 1.25rem !important;
  border: none !important;
  border-right: 1px solid rgba(219, 208, 180, 0.18) !important;
  text-align: left;
  vertical-align: middle;
}

.guide-table th:last-child {
  border-right: none !important;
}

.guide-table tbody tr {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e8e2d4 !important;
  transition: background-color 0.15s ease;
}

.guide-table tbody tr:nth-child(even) {
  background-color: #fbf9f4 !important;
}

.guide-table tbody tr:hover {
  background-color: #fdf5d6 !important;
}

.guide-table tbody tr:last-child {
  border-bottom: none !important;
}

.guide-table td {
  padding: 1.05rem 1.25rem !important;
  border: none !important;
  border-right: 1px solid #ede7db !important;
  color: #1a160d !important;
  font-family: var(--font-sans) !important;
  font-size: 16.5px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  vertical-align: top;
  background: transparent !important;
}

.guide-table td:last-child {
  border-right: none !important;
}

.guide-table td strong {
  font-family: var(--font-sans) !important;
  font-weight: 400 !important;
  color: #1a160d !important;
}

.guide-table td a {
  color: #8c6721;
  font-weight: 400 !important;
  text-decoration: underline;
  text-decoration-color: rgba(140, 103, 33, 0.45);
  text-underline-offset: 3px;
  transition: all 0.15s ease;
}

.guide-table td a:hover {
  color: #5c410c;
  text-decoration-color: #5c410c;
}

.guide-table .highlight-path {
  display: inline;
  padding: 1px 5px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  word-break: break-word;
}

/* Guide Callout / Tip Boxes */
.guide-callout {
  position: relative;
  background: #fdfbf7;
  border: 2px solid #ded7c5;
  border-left: 5px solid #c4a974;
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
  margin: 1.75rem 0;
  box-shadow: 0 2px 8px rgba(56, 52, 42, 0.06);
}

.guide-callout-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #1e1b15;
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
}

.guide-callout-title svg {
  color: #c4a974;
  flex-shrink: 0;
}

.guide-callout p {
  margin: 0 0 0.5rem 0;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.guide-callout p:last-child {
  margin-bottom: 0;
}

.guide-callout-tip {
  border-left-color: #55a249;
  background: #f9fdf8;
}

.guide-callout-tip .guide-callout-title svg {
  color: #55a249;
}

.guide-callout-trouble {
  border-left-color: #d97706;
  background: #fffdfa;
}

.guide-callout-trouble .guide-callout-title svg {
  color: #d97706;
}

/* Guide Code Blocks */
.guide-code-box {
  background: #14120e;
  border: 2px solid #38342a;
  border-radius: 10px;
  overflow: hidden;
  margin: 1.25rem 0 1.5rem 0;
  box-shadow: 0 4px 0 #38342a;
}

.guide-code-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #1e1b15 !important;
  padding: 0.65rem 1rem !important;
  border-bottom: 1px solid #38342a !important;
}

.guide-code-lang,
.guide-code-header .guide-code-lang,
.content-section .guide-code-header .guide-code-lang,
.content-section .guide-code-lang {
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fae7a5 !important; /* Luminous warm gold, 100% visible and sharp against dark header */
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  display: inline-block !important;
}

.guide-code-copy-btn,
.guide-code-header .guide-code-copy-btn,
.content-section .guide-code-header .guide-code-copy-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #f7eed7 !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  line-height: 1.2 !important;
}

.guide-code-copy-btn:hover,
.guide-code-header .guide-code-copy-btn:hover,
.content-section .guide-code-header .guide-code-copy-btn:hover {
  background: #c4a974 !important;
  color: #1e1b15 !important;
  border-color: #c4a974 !important;
}

.guide-code-box pre {
  margin: 0 !important;
  padding: 1.15rem 1.25rem !important;
  overflow-x: auto !important;
  background: #14120e !important;
}

.guide-code-box code {
  font-family: var(--font-mono) !important;
  font-size: 14.5px !important;
  color: #f7eed7 !important;
  line-height: 1.6 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Keyboard keys */
kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #1e1b15;
  background-color: #f2e9d7;
  border: 1px solid #c4a974;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 0 0 #ded7c5;
  white-space: nowrap;
}

/* Reference Links Box */
.guide-references-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.65rem 1.25rem;
}

.guide-references-list li {
  font-size: 14.5px !important;
  color: #555044 !important;
  word-break: break-all;
}

.guide-references-list a {
  color: #947228 !important;
  text-decoration: underline;
}

.guide-references-list a:hover {
  color: #000000 !important;
}
