:root {
  --loghue-blue: #1565C0;
  --canvart-gradient: linear-gradient(to right, #ffd21f, #ff751f);
  --scysearch-red: #df2935;
  --zefeed-green: #00bf63;
}

.intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-primary);
}

.project-brief {
  background: var(--surface-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

.project-brief h2 {
  margin-top: 0;
}

.project-brief h3 {
  margin-top: var(--space-lg);
}

.productName {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-secondary);
}
.loghue span {
  color: var(--loghue-blue);
}
.canvart span {
  background: var(--canvart-gradient);
  background-clip: text;
  color: transparent;
}
.zefeed span {
  color: var(--zefeed-green);
}
.scysearch span {
  color: var(--scysearch-red);
}
.img-container {
  width: 100%;
  max-width: 800px;
  margin: auto;
  position: relative;
}
.screenshot {
  cursor: pointer;
  background-position: center;
  width: 100%;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
}
.img-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: var(--space-xs);
}

.design-instructions {
  font-size: var(--text-md);
  color: var(--text-secondary);
}
.design-instructions li {
  list-style-type: disc;
}

.main-details {
  padding-left: var(--space-md);
}
.main-details summary {
  width: fit-content;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  transition: background 0.4s ease;
}
.main-details summary:hover {
  background: var(--hover-bg);
}

 .copy-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4em;
        margin: 0.75em 0;
        padding: 0.55em 1.1em;
        background: #1a1a1a;
        color: #f5f5f5;
        border: 1px solid #333;
        border-radius: 8px;
        font-size: 0.95rem;
        font-family: inherit;
        cursor: pointer;
        transition:
          background 0.15s ease,
          border-color 0.15s ease;
      }
 
      .copy-btn:hover {
        background: #262626;
        border-color: #444;
      }
 
      .copy-btn:active {
        background: #2f2f2f;
      }
 
      .screenshot-checkpoint {
                position: relative;

        margin: 1.5em 0;
        padding: 1em;
        border: 1px dashed #333;
        border-radius: 10px;
        background: #0a0a0a;
      }
 
      .checkpoint-image-wrap {
        display: block;
      }
 
      .checkpoint-img {
        width: 100%;
        border-radius: 8px;
        display: block;
      }
 
      .checkpoint-placeholder {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5em;
        min-height: 180px;
        border: 1px dashed #444;
        border-radius: 8px;
        background: #111;
        color: #999;
        text-align: center;
        padding: 1.5em;
      }
 
      .checkpoint-placeholder-icon {
        font-size: 2rem;
      }
 
      .checkpoint-placeholder-text {
        font-size: 0.9rem;
        line-height: 1.5;
      }
 
      .checkpoint-caption {
        margin-top: 0.75em;
        font-size: 0.9rem;
        color: #aaa;
      }
 
      /* Styles for the Real Project catalog cards */
      .real-project-catalog {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
        margin: 1.5em 0;
      }
 
      .project-card {
        display: flex;
        flex-direction: column;
        background: #111;
        border: 1px solid #2c2f36;
        border-radius: 8px;
        overflow: hidden;
        transition: border-color 0.2s ease;
      }
      
      .project-card:hover,
      .project-card:focus-within {
        border-color: #444;
      }
      
      .project-card-media {
        position: relative;
        border-bottom: 1px solid #2c2f36;
        background: #0a0a0a;
      }
 
      .project-card-media img {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
      }
 
      .project-card-media .img-credit {
        margin: 0;
        padding: 6px 12px;
        font-size: 0.75rem;
        color: #777;
      }
 
      .project-card-body {
        display: flex;
        flex-direction: column;
        gap: 6px;
        flex: 1;
        padding: 16px;
      }
 
      .project-card-product {
        margin: 0;
        font-size: 0.8rem;
        font-weight: 600;
        color: #9ca3af;
      }
 
      .project-card-page {
        margin: 0;
        font-size: 1.125rem;
        font-weight: 700;
        color: #fff;
      }
 
      .project-card-description {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.5;
        color: #d1d5db;
      }
 
      .project-card-difficulty {
        margin: 4px 0 0;
        align-self: flex-start;
        padding: 2px 10px;
        font-size: 0.75rem;
        color: #afccff;
        background: #1c1c1c;
        border: 1px solid #2c2f36;
        border-radius: 999px;
      }
 
      .project-card-link {
        margin-top: auto;
        padding-top: 12px;
        color: #afccff;
        font-weight: 600;
        font-size: 0.875rem;
        text-decoration: none;
      }
 
      .project-card-link:hover,
      .project-card-link:focus-visible {
        text-decoration: underline;
      }