/* ============================================================
   wa-how-it-works.css — Velthian How It Works page
   ============================================================ */

.hiw-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 56px 120px;
}

/* ── Eyebrow shared util ─────────────────────────────────── */
.hiw-eyebrow-line {
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* ── Hero ────────────────────────────────────────────────── */
.hiw-hero {
  margin-bottom: 88px;
}

.hiw-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hiw-hero-eyebrow span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.hiw-hero-title {
  font-family: var(--font-d);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.07;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 24px;
}
.hiw-hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hiw-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.75;
  max-width: 620px;
}

.hiw-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(201,168,76,0.08) 60%, transparent 100%);
  margin-top: 40px;
  opacity: 0.4;
}

/* ── Step layout ─────────────────────────────────────────── */
.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 40px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.hiw-step:last-child {
  border-bottom: none;
}

/* Vertical connector line between steps */
.hiw-step::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.hiw-step:first-child::before { top: 64px; }
.hiw-step:last-child::before  { bottom: calc(100% - 80px); }

.hiw-step-num {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 6px;
  position: relative;
  z-index: 1;
  background: var(--bg, #0a0a0c);
  height: fit-content;
  line-height: 1;
  padding: 8px 0 8px;
}

.hiw-step-body {
  padding-top: 0;
}

.hiw-step-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  opacity: 0.8;
}

.hiw-step-title {
  font-family: var(--font-d);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}
.hiw-step-title em {
  font-style: italic;
  color: var(--gold);
}

.hiw-step-para {
  font-size: 15px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 0;
}
.hiw-step-para--spaced {
  margin-top: 28px;
}

.hiw-step-note {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
  padding-left: 14px;
  border-left: 2px solid var(--border);
}

/* ── Step 1: Import sources ──────────────────────────────── */
.hiw-import-sources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 24px;
}

.hiw-source-card {
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 8px;
  padding: 20px 22px;
}

.hiw-source-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.hiw-source-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 14px;
}

.hiw-source-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 3px;
  padding: 3px 8px;
}

/* ── Step 2: Stats grid ──────────────────────────────────── */
.hiw-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.hiw-stat {
  padding: 20px 22px;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hiw-stat:nth-child(2n) { border-right: none; }
.hiw-stat:nth-last-child(-n+2) { border-bottom: none; }

.hiw-stat-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.hiw-stat-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.6;
}

/* ── Step 3: Asset list ──────────────────────────────────── */
.hiw-asset-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.hiw-asset {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.hiw-asset:last-child { border-bottom: none; }

.hiw-asset-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.hiw-asset-icon {
  font-size: 16px;
  color: var(--gold);
  width: 24px;
  text-align: center;
  opacity: 0.8;
}

.hiw-asset-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}

.hiw-asset-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.7;
  padding-left: 36px;
  margin: 0;
}

/* ── Step 4: Tax features ────────────────────────────────── */
.hiw-tax-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.hiw-tax-feat {
  padding: 20px 22px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.hiw-tax-feat-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.hiw-tax-feat-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.65;
  margin: 0;
}

/* ── Step 5: Artha chips ─────────────────────────────────── */
.hiw-artha-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.hiw-chip {
  font-size: 12px;
  font-weight: 400;
  color: var(--text2);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 14px;
  letter-spacing: 0.01em;
}

.hiw-artha-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 18px 20px;
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.65;
}

.hiw-artha-star {
  color: var(--gold);
  font-size: 14px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ── Step 6: Insight list ────────────────────────────────── */
.hiw-insight-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.hiw-insight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.hiw-insight-item:last-child { border-bottom: none; }

.hiw-insight-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
  margin-top: 6px;
}

.hiw-insight-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.65;
}
.hiw-insight-text strong {
  font-weight: 500;
  color: var(--text);
}

/* ── More features ───────────────────────────────────────── */
.hiw-more {
  margin-top: 88px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.hiw-more-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}
.hiw-more-eyebrow span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text2);
}

.hiw-more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.hiw-more-card {
  padding: 24px;
  background: rgba(255,255,255,0.015);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hiw-more-card:nth-child(3n) { border-right: none; }
.hiw-more-card:nth-last-child(-n+3) { border-bottom: none; }

.hiw-more-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.hiw-more-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.65;
}

/* ── CTA ─────────────────────────────────────────────────── */
.hiw-cta {
  margin-top: 88px;
  padding: 64px 56px;
  text-align: center;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 12px;
  background: rgba(201,168,76,0.03);
}

.hiw-cta-title {
  font-family: var(--font-d);
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 18px;
}
.hiw-cta-title em {
  font-style: italic;
  color: var(--gold);
}

.hiw-cta-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hiw-cta-btn {
  font-size: 13px;
  padding: 12px 32px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hiw-page {
    padding: 56px 24px 80px;
  }

  .hiw-step {
    grid-template-columns: 1fr;
    gap: 12px 0;
    padding: 48px 0;
  }
  .hiw-step::before { display: none; }
  .hiw-step-num {
    font-size: 11px;
  }

  .hiw-import-sources,
  .hiw-tax-features,
  .hiw-stat-grid {
    grid-template-columns: 1fr;
  }
  .hiw-stat:nth-child(2n)        { border-right: none; }
  .hiw-stat:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .hiw-stat:last-child           { border-bottom: none; }

  .hiw-tax-feat:nth-child(2n)        { border-right: none; }

  .hiw-more-grid {
    grid-template-columns: 1fr;
  }
  .hiw-more-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .hiw-more-card:last-child { border-bottom: none; }

  .hiw-cta {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hiw-artha-chips { gap: 8px; }
  .hiw-chip { font-size: 11px; padding: 6px 12px; }
}
