/* ================= HOW TO PAGE ================= */

.howto-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ---- Hero ---- */
.howto-hero {
  padding: 72px 0 56px;
  text-align: center;
}

.howto-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}

.howto-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.howto-sub {
  font-size: 1.05rem;
  color: #555;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- Steps ---- */
.howto-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.howto-step {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid #efefef;
  position: relative;
}

.howto-step:last-child {
  border-bottom: none;
}

/* Step number */
.step-number {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ccc;
  min-width: 36px;
  padding-top: 4px;
  user-select: none;
}

/* Step body */
.step-body {
  flex: 1;
}

.step-body h2 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
  color: #111;
}

.step-body p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 12px;
}

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

.step-body a {
  color: rgb(0, 200, 150);
  font-weight: 600;
  text-decoration: underline;
}

.step-body code {
  background: #f2f2f2;
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.88rem;
  font-family: 'Courier New', monospace;
  color: #333;
}

kbd {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-bottom: 2px solid #ccc;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
}

/* Tip box */
.step-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8f8f8;
  border: 1px solid #ececec;
  border-left: none;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
}

.tip-bar {
  display: block;
  width: 4px;
  min-width: 4px;
  align-self: stretch;
  background: rgb(0, 200, 150);
  border-radius: 3px;
  flex-shrink: 0;
}

/* File path breadcrumb */
.step-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  background: #f4f4f4;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #444;
}

.step-path .path-sep {
  color: #bbb;
  font-weight: 400;
  font-size: 0.85rem;
}

.step-path .path-final {
  color: #00c896;
  font-weight: 600;
}

.emoji-inline {
  font-size: 1rem;
}

/* ---- CTA section ---- */
.howto-cta-section {
  margin-top: 64px;
}

.howto-cta-card {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 22px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
}

.howto-cta-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.howto-cta-card p {
  font-size: 1rem;
  color: #555;
  max-width: 420px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.howto-cta-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.howto-cta-btn:hover {
  background: #222;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .howto-main {
    padding: 0 16px 60px;
  }

  .howto-step {
    gap: 14px;
    padding: 24px 0;
  }

  .step-number {
    min-width: 24px;
    font-size: 0.7rem;
  }

  .step-body h2 {
    font-size: 1.05rem;
  }

  .step-tip {
    font-size: 0.83rem;
    flex-direction: column;
    gap: 8px;
    word-break: break-word;
  }

  .tip-bar {
    width: 100%;
    min-width: unset;
    height: 3px;
    align-self: auto;
  }

  .step-tip a {
    word-break: break-all;
  }

  .step-path {
    font-size: 0.78rem;
    padding: 10px 12px;
  }

  .howto-cta-card {
    padding: 28px 20px;
  }

  .howto-cta-card h2 {
    font-size: 1.4rem;
  }
}
