/* =============================================================================
   HALLUCINATE.md — Main Stylesheet
   The open standard for telling AI not to hallucinate.
   Dark mode by default. Vanilla CSS, no framework dependencies.
   ============================================================================= */

/* =============================================================================
   Reset
   ============================================================================= */

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

/* =============================================================================
   Custom Properties — Dark Theme (default)
   ============================================================================= */

:root,
[data-theme="dark"] {
  --color-text:           #f0f6fc;
  --color-text-muted:     #9198a1;
  --color-text-subtle:    #656c76;
  --color-bg-primary:     #0d1117;
  --color-bg-secondary:   #151b23;
  --color-bg-tertiary:    #212830;
  --color-border:         #3d444d;
  --color-border-muted:   #3d444db3;
  --color-link:           #4493f8;
  --color-accent:         #7c3aed;
  --color-btn-bg:         #212830;
  --color-btn-border:     #3d444d;
  --color-btn-hover:      #2a313c;
  --color-icon:           #9198a1;
  --color-svg-fill:       #f0f6fc;
  --color-code-bg:        #161b22;
  --color-card-bg:        #151b23;
  --color-card-hover:     #1c2333;
  --color-success:        #3fb950;

  /* Layout */
  --max-width:            72rem;
  --section-padding:      5rem;
  --section-padding-sm:   3rem;

  /* Font stacks */
  --font-sans:   -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans",
                 Helvetica, Arial, sans-serif, "Apple Color Emoji",
                 "Segoe UI Emoji";
  --font-mono:   ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
                 "Liberation Mono", monospace;

  /* Transitions */
  --transition-theme:     0.2s ease;
}

/* =============================================================================
   Custom Properties — Light Theme
   ============================================================================= */

[data-theme="light"] {
  --color-text:           #1f2328;
  --color-text-muted:     #59636e;
  --color-text-subtle:    #818b98;
  --color-bg-primary:     #ffffff;
  --color-bg-secondary:   #f6f8fa;
  --color-bg-tertiary:    #e8ecf0;
  --color-border:         #d1d9e0;
  --color-border-muted:   #d1d9e0b3;
  --color-link:           #0969da;
  --color-accent:         #7c3aed;
  --color-btn-bg:         #f6f8fa;
  --color-btn-border:     #d1d9e0;
  --color-btn-hover:      #e8ecf0;
  --color-icon:           #59636e;
  --color-svg-fill:       #1f2328;
  --color-code-bg:        #f6f8fa;
  --color-card-bg:        #f6f8fa;
  --color-card-hover:     #e8ecf0;
  --color-success:        #1a7f37;
}

/* =============================================================================
   Base
   ============================================================================= */

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background var(--transition-theme),
              color var(--transition-theme);
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-bg-tertiary);
  padding: 0.2em 0.4em;
  border-radius: 6px;
}

pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.45;
}

pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}

/* =============================================================================
   Layout Utilities
   ============================================================================= */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: var(--section-padding) 0;
}

.section--alt {
  background: var(--color-bg-secondary);
  transition: background var(--transition-theme);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 40rem;
  margin: 0 auto;
}

/* =============================================================================
   Navigation
   ============================================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border-muted);
  transition: background var(--transition-theme),
              border-color var(--transition-theme);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  text-decoration: none;
}

.nav__brand:hover {
  text-decoration: none;
  color: var(--color-text);
}

.nav__brand svg {
  fill: var(--color-svg-fill);
  width: 28px;
  height: 28px;
  transition: fill var(--transition-theme);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav__link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-theme);
}

.nav__link:hover {
  color: var(--color-text);
  text-decoration: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--color-btn-bg);
  border: 1px solid var(--color-btn-border);
  border-radius: 6px;
  color: var(--color-icon);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background var(--transition-theme),
              border-color var(--transition-theme),
              color var(--transition-theme);
}

.theme-toggle:hover {
  background: var(--color-btn-hover);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: inline;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: inline;
}

/* Nav GitHub link (icon button) */

.nav__github {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color var(--transition-theme);
}

.nav__github:hover {
  color: var(--color-text);
  text-decoration: none;
}

.nav__github svg {
  fill: currentColor;
  width: 20px;
  height: 20px;
}

/* =============================================================================
   Buttons
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease,
              border-color 0.15s ease,
              color 0.15s ease,
              transform 0.1s ease;
}

.btn:hover {
  text-decoration: none;
}

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

/* Primary: solid accent background */

.btn--primary {
  background: var(--color-accent);
  color: #ffffff;
  border: 2px solid var(--color-accent);
}

.btn--primary:hover {
  background: #6d28d9;
  border-color: #6d28d9;
  color: #ffffff;
}

/* Secondary: outlined */

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn--secondary:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--color-text-subtle);
}

/* Small button variant */

.btn--sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  border-radius: 6px;
  border-width: 1px;
}

/* Copy button (inside code blocks and tweet cards) */

.btn--copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text-muted);
  background: var(--color-btn-bg);
  border: 1px solid var(--color-btn-border);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease,
              color 0.15s ease,
              border-color 0.15s ease;
}

.btn--copy::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
}

.btn--copy:hover {
  background: var(--color-btn-hover);
  color: var(--color-text);
}

.btn--copy[data-copied="true"] {
  color: var(--color-success);
  border-color: var(--color-success);
}

.btn--copy[data-copied="true"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* =============================================================================
   Hero Section
   ============================================================================= */

.hero {
  padding: 6rem 0 var(--section-padding);
  text-align: center;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f97316 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.hero__adopter-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-subtle);
  margin-bottom: 2.5rem;
}

.hero__adopter-count strong {
  color: var(--color-text-muted);
}

/* Terminal block in hero */

.hero__terminal {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.terminal {
  background: var(--color-code-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition: background var(--transition-theme),
              border-color var(--transition-theme);
}

.terminal__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  min-height: 2.75rem;
  background: var(--color-bg-tertiary);
}


.terminal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal__dot--red    { background: #ff5f56; }
.terminal__dot--yellow { background: #ffbd2e; }
.terminal__dot--green  { background: #27c93f; }

.terminal__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-left: 0.5rem;
}

.terminal__body {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  overflow-x: auto;
}

.terminal__prompt {
  color: var(--color-success);
  user-select: none;
}

.terminal__command {
  color: var(--color-text);
}

/* Hero CTAs */

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================================================
   Why Section — Value Proposition Cards
   ============================================================================= */

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

.why-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 2rem;
  transition: background var(--transition-theme),
              border-color var(--transition-theme),
              transform 0.15s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  background: var(--color-card-hover);
}

.why-card__icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.why-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =============================================================================
   Compatibility — Logo Marquee
   ============================================================================= */

.compatibility {
  overflow: hidden;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee + .marquee {
  margin-top: 1.5rem;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-shrink: 0;
  animation: marquee-scroll 40s linear infinite;
  /* Duplicate content is placed in a second .marquee__track in HTML for seamless loop */
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

.marquee--slow .marquee__track {
  animation-duration: 55s;
}

.marquee--fast .marquee__track {
  animation-duration: 30s;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation-play-state: paused;
  }
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
}

.marquee__logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.marquee__item:hover .marquee__logo {
  opacity: 1;
}

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

.marquee__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition-theme);
}

.marquee__item:hover .marquee__label {
  color: var(--color-text);
}

/* =============================================================================
   The Standard — Code Block Section
   ============================================================================= */

.standard__block {
  max-width: 40rem;
  margin: 0 auto;
}

.code-block {
  position: relative;
  background: var(--color-code-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: background var(--transition-theme),
              border-color var(--transition-theme);
}

.code-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  min-height: 2.75rem;
  background: var(--color-bg-tertiary);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-theme),
              border-color var(--transition-theme);
}

.code-block__filename {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.code-block__body {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-x: auto;
  color: var(--color-text);
}

.code-block__body .comment {
  color: var(--color-text-subtle);
}

.code-block__footer {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  min-height: 2.75rem;
  align-items: center;
  background: var(--color-bg-tertiary);
  border-top: 1px solid var(--color-border);
  transition: background var(--transition-theme),
              border-color var(--transition-theme);
}

/* Terminal inside code-block: outer wrapper handles border/radius */
.code-block .terminal {
  border: none;
  border-radius: 0;
}

.standard__instructions {
  max-width: 40rem;
  margin: 0 auto;
}

.standard__instructions p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 1.5rem;
}

.standard__web-add {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.standard__web-add p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.web-add-form {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.web-add-form__input {
  flex: 1;
  max-width: 20rem;
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.15s;
}

.web-add-form__input:focus {
  border-color: var(--color-accent);
}

.web-add-form__input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

@media (max-width: 480px) {
  .web-add-form {
    flex-direction: column;
    align-items: center;
  }
  .web-add-form__input {
    max-width: 100%;
    width: 100%;
  }
}

/* =============================================================================
   Adopter Wall
   ============================================================================= */

.adopters__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.adopter-item {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.adopter-card {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  min-width: 0;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  text-decoration: none;
  overflow: hidden;
  transition: background var(--transition-theme),
              border-color var(--transition-theme),
              transform 0.15s ease;
}

.adopter-card:hover {
  transform: translateY(-2px);
  background: var(--color-card-hover);
  text-decoration: none;
}

.adopter-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.adopter-card__body {
  flex: 1;
  min-width: 0;
}

.adopter-card__header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  justify-content: space-between;
}

.adopter-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.adopter-card__name .owner {
  color: var(--color-text-muted);
  font-weight: 400;
}

.adopter-card__stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
}

.adopter-card__stars svg {
  fill: var(--color-icon);
  width: 14px;
  height: 14px;
}

.adopter-card__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 0.25rem;
}

.adopter-card__lang {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-top: 0.25rem;
}

.adopter-card__proof {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  text-decoration: none;
  align-self: flex-end;
}

.adopter-card__proof::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") no-repeat center / contain;
  flex-shrink: 0;
}

.adopter-card__proof:hover {
  color: var(--color-text-muted);
  text-decoration: underline;
}

/* Pager */

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-top: 2rem;
}

.pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-card-bg);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pager__btn:hover:not(:disabled) {
  background: var(--color-card-hover);
  color: var(--color-text);
}

.pager__btn--active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.pager__btn--active:hover {
  background: var(--color-accent);
  color: #fff;
}

.pager__btn--disabled {
  opacity: 0.3;
  cursor: default;
}

.pager__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  color: var(--color-text-subtle);
  font-size: 0.8125rem;
}

.adopters__cta {
  text-align: center;
  margin-top: 2.5rem;
}

.adopters__search-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.adopters__search-link a {
  color: var(--color-text-subtle);
  text-decoration: none;
}

.adopters__search-link a:hover {
  color: var(--color-text-muted);
  text-decoration: underline;
}

.adopter-item--hidden {
  display: none;
}

/* Empty state */

.adopters__empty {
  text-align: center;
  padding: 3rem 1rem;
  border: 2px dashed var(--color-border);
  border-radius: 10px;
}

.adopters__empty p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* =============================================================================
   Testimonials
   ============================================================================= */

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

.testimonial-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 2rem;
  transition: background var(--transition-theme),
              border-color var(--transition-theme);
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__quote::before {
  content: "\201C";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 0;
  margin-right: 0.125rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.testimonial-card__avatar img,
.testimonial-card__avatar svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

/* Agent testimonials get a subtle left accent */

.testimonial-card--agent {
  border-left: 3px solid var(--color-link);
}

/* Executive testimonials get a subtle left accent */

.testimonial-card--executive {
  border-left: 3px solid var(--color-accent);
}

/* =============================================================================
   Tweet Cards
   ============================================================================= */

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

.tweet-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  transition: background var(--transition-theme),
              border-color var(--transition-theme);
}

.tweet-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.tweet-card__author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.tweet-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-tertiary);
}

.tweet-card__name {
  font-weight: 700;
  font-size: 0.875rem;
}

.tweet-card__handle {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.tweet-card__x-logo {
  color: var(--color-text-subtle);
  flex-shrink: 0;
}

.tweet-card__x-logo svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.tweet-card__body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.tweet-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tweet-card__date {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.tweet-card .btn--copy {
  flex-shrink: 0;
}

/* =============================================================================
   FAQ — Accordion (details/summary, no JS)
   ============================================================================= */

.faq__list {
  max-width: 44rem;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition-theme);
}

.faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-theme);
}

/* Remove default marker in Safari */
.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: "";
}

.faq__question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-subtle);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s ease,
              color var(--transition-theme);
}

.faq__item[open] .faq__question::after {
  content: "\2212"; /* minus sign */
  color: var(--color-accent);
}

.faq__answer {
  padding: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* =============================================================================
   Footer
   ============================================================================= */

.footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
  text-align: center;
  transition: border-color var(--transition-theme);
}

.footer__brand {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
}

.footer__link {
  font-size: 0.8125rem;
  color: var(--color-text-subtle);
}

.footer__link:hover {
  color: var(--color-link);
}

/* =============================================================================
   Toast Notification
   ============================================================================= */

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text);
  z-index: 200;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease,
              opacity 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* =============================================================================
   Responsive — 640px (sm)
   ============================================================================= */

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

  .hero__title {
    font-size: 4rem;
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tweets__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adopters__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================================
   Responsive — 768px (md)
   ============================================================================= */

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

  .section-title {
    font-size: 2.25rem;
  }

  .hero {
    padding: 7rem 0 var(--section-padding);
  }

  .hero__title {
    font-size: 4.5rem;
  }

  .hero__subtitle {
    font-size: 1.375rem;
  }

  .why__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .adopters__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Show nav links on larger screens */
  .nav__links--desktop {
    display: flex;
  }
}

/* =============================================================================
   Responsive — 1024px (lg)
   ============================================================================= */

@media (min-width: 1024px) {
  .hero__title {
    font-size: 5rem;
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tweets__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =============================================================================
   Mobile Nav — Hide desktop links on small screens
   ============================================================================= */

@media (max-width: 767px) {
  .nav__links--desktop {
    display: none;
  }

  .hero {
    padding: 4rem 0 var(--section-padding-sm);
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.0625rem;
  }

  .section {
    padding: var(--section-padding-sm) 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .terminal__body {
    font-size: 0.8125rem;
    padding: 1rem;
  }

  .why-card {
    padding: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .tweet-card {
    padding: 1.25rem;
  }

  .toast {
    max-width: calc(100vw - 2rem);
    white-space: normal;
    text-align: center;
  }
}

/* =============================================================================
   Accessibility & Utilities
   ============================================================================= */

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Text alignment helpers */
.text-center { text-align: center; }
.text-muted  { color: var(--color-text-muted); }
.text-subtle { color: var(--color-text-subtle); }

/* Spacing helpers */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
