
/* Page shell */
.hiw-wrap {
  max-width: 1100px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}

/* Generic card look aligned with your base */
.card-like {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--radius, 12px);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}

/* Buttons (inherits your variables) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border, #e5e7eb);
  background: #fff;
  color: var(--text-dark, #0f172a);
  text-decoration: none;
  font-weight: 700;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}
.btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  border-color: var(--primary, #2e8b57);
  background: var(--primary, #2e8b57);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark, #26734a);
  border-color: var(--primary-dark, #26734a);
}

.btn-ghost {
  background: #fff;
  color: var(--text-dark, #0f172a);
}
.btn-ghost:hover { background: var(--bg, #f9fafb); }

/* Hero */
.hiw-hero {
  padding: 0.5rem 1rem 0.5rem 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  background: #fff;
}
.hiw-hero h1 {
  margin: 0 0 .3rem;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hiw-lead {
  margin: 0;
  color: var(--text-light, #475569);
}
.hiw-hero-ctas {
  display: flex;
  gap: .6rem;
  margin-top: .9rem;
  flex-wrap: wrap;
}

/* Sections */
.hiw-section { margin-top: 1.2rem; }
.section-title {
  margin: 0 0 .9rem;
  font-size: 1.25rem;
  font-weight: 800;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: 14px 16px;
  border-top: 4px solid var(--primary, #2e8b57);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}
.step-num {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: rgba(46,139,87,.12);
  color: var(--primary, #2e8b57);
  font-weight: 800;
  margin-bottom: .4rem;
}

.step-label {
  margin-bottom: 0.4rem;
}

.step-title {
  display:inline-flex;
  align-items:center; 
  gap:.5rem;
  margin: 0 0 .25rem;
  font-weight: 800;
}
.step-text { margin: 0; color: var(--text-dark, #0f172a); }
.step-text2 { margin-top: 8px; color: var(--text-dark, #0f172a); }
.micro-hint {
  margin: .4rem 0 0;
  font-size: .93rem;
  color: var(--text-light, #475569);
}

/* Benefits */
.benefits {
  display: grid;
  gap: .6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.benefits li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .6rem;
  align-items: start;
  padding: .65rem .75rem;
  border: 1px solid var(--border, #e5e7eb);
  border-left: 4px solid #9fd6b6;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text-dark, #0f172a);
}
.benefits i { margin-top: .15rem; }

/* AI callout */
.ai-callout {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: .75rem;
  align-items: center;
  padding: .8rem .9rem;
  border-radius: 12px;
  border: 1px dashed var(--border, #e5e7eb);
  background: #f5f8f7;
  color: #3b4a3f;
  margin-bottom: .6rem;
}
.ai-badge {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  font-weight: 800;
  color: var(--primary, #2e8b57);
}
.muted-note {
  color: var(--text-light, #475569);
  margin: .35rem 0 .75rem;
}

/* Token usage boxes */
.token-usage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.usage-box {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: .9rem;
}
.usage-box h3 {
  margin: 0 0 .4rem;
  font-weight: 800;
  font-size: 1.05rem;
}
.tiny-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-dark, #0f172a);
}
.tiny-list li { margin: .25rem 0; }

.cta-buttons {
  display: flex;
  gap: 12px;
  margin-top: 14px;       
}

.btn, .btn-primary, .btn-secondary {
  min-height: 44px;          /* accessibility tap target */
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
}

.btn-ghost::hover {
  color:#0f172a;      
}

@media (max-width: 720px){
  .cta-row, .cta-buttons { flex-direction: column; }
  .btn, .btn-primary, .btn-secondary { width: 100%; }
}

/* Packs CTA */
.packs-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: .9rem;
}

/* FAQ (native details/summary) */
.faq .faq-item {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  padding: .6rem .8rem;
  margin-bottom: .6rem;
}
.faq .faq-item > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text-dark, #0f172a);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.faq .faq-item > summary::-webkit-details-marker { display: none; }
.faq .faq-item > p {
  margin: .5rem 0 0;
  color: var(--text-light, #475569);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-light, #475569);
}

/* Responsive */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .token-usage { grid-template-columns: 1fr; }
  .ai-callout { grid-template-columns: 1fr; }
}

.cta-separator {
  border: none;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 24px 0;             /* spacing before/after */
}

.signup-perks{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px; margin:15px 0 15px;
}
.signup-perks .perk{
  display:flex; align-items:center; gap:8px;
  background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius); padding:10px 12px;
  box-shadow:0 6px 18px var(--shadow); color:var(--text-light);
  font-weight:600;
}
.signup-perks i{ color:var(--primary); }
@media (max-width: 880px){ .signup-perks{ grid-template-columns:1fr; } }
