/* =========================================================================
   Home — the lab
   ========================================================================= */

.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
}

.hero-layout {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}

.hero-copy h1 {
  font-size: clamp(36px, 5.6vw, 58px);
  margin-top: 18px;
  color: var(--text);
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-copy p {
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-dim);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--text);
}

.hero-stat .label {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-faint);
}

/* --- Hero visual: a plain, static release panel, no motion or gradients -- */

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-panel {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 28px;
}

.hero-panel-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-panel-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel-title {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--text);
  margin-top: 18px;
}

.hero-panel-sub {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 6px;
}

.hero-panel .tag {
  margin-top: 18px;
}

/* ---------------------------------------------------------------------- */
/* Apps grid                                                               */
/* ---------------------------------------------------------------------- */

.apps-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

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

.app-card {
  display: block;
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.app-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.app-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
}

.app-card h3 {
  margin-top: 24px;
  font-size: 22px;
}

.app-card .app-tagline {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 15px;
}

.app-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.app-card-cta {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.app-card-cta svg {
  transition: transform 0.2s var(--ease);
}

.app-card:hover .app-card-cta svg {
  transform: translateX(3px);
}

.app-card.is-ghost {
  border-style: dashed;
  border-color: var(--border-strong);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 260px;
}

.app-card.is-ghost .ghost-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 20px;
}

.app-card.is-ghost h3 {
  color: var(--text-dim);
}

/* ---------------------------------------------------------------------- */
/* Pillars ("how the lab works")                                          */
/* ---------------------------------------------------------------------- */

.pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

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

.pillar {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.pillar-index {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-faint);
}

.pillar h3 {
  margin-top: 16px;
  font-size: 18px;
}

.pillar p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--text-dim);
}

/* ---------------------------------------------------------------------- */
/* About                                                                   */
/* ---------------------------------------------------------------------- */

.about-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 860px) {
  .about-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.about-copy p + p {
  margin-top: 16px;
}

.about-copy p {
  color: var(--text-dim);
  font-size: 16px;
}

.about-facts {
  display: grid;
  gap: 12px;
}

.about-fact {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-fact .dot {
  width: 5px;
  height: 5px;
  margin-top: 8px;
  background: var(--accent);
  flex-shrink: 0;
}

.about-fact h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
}

.about-fact p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------------------------------------------------------------------- */
/* CTA band                                                                */
/* ---------------------------------------------------------------------- */

.cta-band {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 56px 40px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(24px, 3.6vw, 32px);
}

.cta-band p {
  margin-top: 14px;
  color: var(--text-dim);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero-actions {
  justify-content: center;
}
