/* ==========================================================================
   Utilities
   ========================================================================== */
   .container {
    width: min(90%, 70rem);
    margin-inline: auto;
    padding-block: 3rem;
    scroll-margin-top: 6rem;
  }
  .section__title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: 0.2s;
  }
  .btn--primary {
    background: var(--clr-primary);
    color: var(--clr-bg);
  }
  .btn--primary:hover {
    background: var(--clr-primary-dark);
  }
  .btn--secondary {
    background: var(--clr-primary);
    color: var(--clr-bg);
  }
  .btn--small {
    padding: 0.4rem 1rem;
  }
  .theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--clr-text);
    transition: color 0.3s ease;
  }
  .theme-toggle:focus {
    outline: 2px dashed var(--clr-secondary);
    outline-offset: 2px;
  }
  
  
  .manual-modal .container {
    padding-block: 1.5rem 2rem; /* or even 0 if you want it tight */
  }
  

  /* Vending Launch Section */
.vending-launch {
  padding-block: 4rem 5rem;
  border-top: 1px solid var(--clr-border);
}

.section__subtitle--centered {
  text-align: center;
  font-size: 1.1rem;
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  color: var(--clr-text);
  opacity: 0.95;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.launch-item {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.launch-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.launch-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--clr-primary);
}

.launch-item h3 {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.launch-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-text);
  opacity: 0.9;
}

.launch-cta {
  text-align: center;
}


/* Fluid Type */
h1 { font-size: clamp(2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.5rem); }

/* Smooth Focus Outline */
:focus { outline: 2px dashed var(--clr-secondary); outline-offset: 4px; }

/* Card hover animations */
.service-card, .launch-item, .manual-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover, .launch-item:hover, .manual-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Responsive iframe for PDF viewer */
#pdf-viewer-wrapper iframe {
  height: clamp(50vh, 80vh, 90vh);
}

/* Discord banner: respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .discord-banner__wrap { animation: none !important; }
}

/* Dark-mode tweaks for hero override */
:root[data-theme="dark"] .hero::before {
  background: linear-gradient(180deg,rgba(0,0,0,0.7),rgba(0,0,0,0.5));
}


