/* ── HERO ──────────────────────────────────────────────────── */
.how-hero {
  background: var(--navy); color: #fff;
  padding: clamp(20px, 3vw, 40px) 0 clamp(48px, 7vw, 96px);
  position: relative; overflow: hidden;
}
.how-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 90% 20%, rgba(237,122,58,0.18), transparent 50%),
    radial-gradient(circle at 5% 80%, rgba(42,154,214,0.12), transparent 50%);
}
.how-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center; position: relative;
}
.how-hero h1 { font-size: clamp(38px, 5.8vw, 72px); letter-spacing: -0.045em; margin-top: 20px; }
.how-hero h1 .accent { color: var(--orange); }
.how-hero .lead {
  font-size: clamp(15px, 1.5vw, 17px); color: rgba(255,255,255,0.75);
  margin-top: 20px; max-width: 44ch; line-height: 1.6;
}
.hero-steps-preview { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; list-style: none; padding: 0; }
.preview-step {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 14px 18px;
}
.preview-step .n {
  width: 36px; height: 36px; border-radius: 99px; flex-shrink: 0;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 15px;
}
.preview-step .info h4 { font-family: var(--display); font-weight: 700; font-size: 15px; color: #fff; letter-spacing: -0.01em; }
.preview-step .info p  { font-size: 12.5px; color: rgba(255,255,255,0.6); margin-top: 2px; font-weight: 500; }
.hero-time-box {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
}
.time-item {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.time-item:last-child { padding-bottom: 0; border-bottom: none; }
.time-item .ic {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.time-item.orange .ic { background: rgba(237,122,58,0.18);  color: var(--orange); }
.time-item.green  .ic { background: rgba(45,167,123,0.18);  color: var(--green); }
.time-item.blue   .ic { background: rgba(42,154,214,0.18);  color: var(--blue); }
.time-item .ic svg { width: 24px; height: 24px; }
.time-item .val {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.04em;
}
.time-item.orange .val { color: var(--orange); }
.time-item.green  .val { color: var(--green); }
.time-item.blue   .val { color: var(--blue); }
.time-item .desc { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; font-weight: 500; }

/* ── STEPS ─────────────────────────────────────────────────── */
.steps-section { background: var(--cream); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; position: relative; margin-top: 56px;
  list-style: none; padding: 0;
}
.steps-line { position: absolute; left: 12.5%; right: 12.5%; top: 40px; height: 4px; z-index: 0; }
.steps-line svg { width: 100%; height: 100%; }
.step-card {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px; padding: 0 8px;
}
.step-card .num {
  width: 80px; height: 80px; border-radius: 99px;
  background: #fff; border: 2px solid var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 26px;
  letter-spacing: -0.04em; color: var(--navy); box-shadow: var(--shadow-sm);
}
.step-card h4  { font-size: 18px; letter-spacing: -0.02em; }
.step-card .sub { font-size: 13px; color: var(--ink-soft); max-width: 20ch; line-height: 1.5; }
.step-card .detail {
  background: #fff; border: 1.4px solid var(--ink-light);
  border-radius: var(--radius); padding: 16px; width: 100%; text-align: left;
}
.step-card .detail ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.step-card .detail ul li {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 12.5px; color: var(--ink-soft); font-weight: 500;
}
.step-card .detail ul li::before { content: "✓"; color: var(--green); font-weight: 800; font-size: 12px; flex-shrink: 0; }

/* ── FLOW ──────────────────────────────────────────────────── */
.flow-section { background: var(--navy); color: #fff; overflow: hidden; }
.flow-section-inner {
  display: grid; grid-template-columns: 1fr 2.1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.flow-section h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; margin-top: 14px; }
.flow-section .lead { font-size: 15px; color: rgba(255,255,255,0.72); margin-top: 16px; max-width: 40ch; font-weight: 500; line-height: 1.55; }
.flow {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  list-style: none; padding: 0;
}
.flow::before {
  content: ""; position: absolute;
  left: 8%; right: 8%; top: 36px; height: 2px;
  background: repeating-linear-gradient(to right, rgba(255,255,255,0.25) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.flow-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.flow-step .icon-wrap { position: relative; }
.flow-step .ic {
  width: 72px; height: 72px; border-radius: 99px;
  background: var(--navy-deep); border: 1.6px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
}
.flow-step.green  .ic { color: var(--green); }
.flow-step.blue   .ic { color: var(--blue); }
.flow-step.orange .ic { color: var(--orange); }
.flow-step .ic svg { width: 34px; height: 34px; }
.flow-step .badge {
  position: absolute; top: -6px; right: -10px;
  width: 26px; height: 26px; border-radius: 99px;
  background: var(--navy-deep); border: 1.6px solid currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 12px;
}
.flow-step h3 { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -0.015em; max-width: 14ch; }
.flow-step.green  h3 { color: var(--green); }
.flow-step.blue   h3 { color: var(--blue); }
.flow-step.orange h3 { color: var(--orange); }
.flow-step p { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.65); max-width: 16ch; font-weight: 500; }

/* ── APP ───────────────────────────────────────────────────── */
.app-section { background: var(--paper); }
.app-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.app-features { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.app-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.app-features li .check {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px;
}
.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.app-card {
  background: var(--cream); border: 1.4px solid var(--ink-light);
  border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px;
}
.app-card .ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.app-card.green  .ic { background: var(--green-soft);  color: var(--green); }
.app-card.orange .ic { background: var(--orange-soft); color: var(--orange); }
.app-card.blue   .ic { background: var(--blue-soft);   color: var(--blue); }
.app-card.navy   .ic { background: var(--navy); color: #fff; }
.app-card h4 { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
.app-card p  { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; font-weight: 500; }
.faq-section { background: var(--cream); }
.cta-section { background: var(--navy-deep); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .how-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .steps-line { display: none; }
  .flow-section-inner { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: repeat(5, 1fr); gap: 8px; overflow-x: auto; padding-bottom: 8px; }
  .flow-step .ic { width: 56px; height: 56px; }
  .flow-step .ic svg { width: 26px; height: 26px; }
  .flow::before { top: 28px; }
  .app-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .flow {
    display: flex; flex-direction: column;
    gap: 0; overflow-x: visible; padding-bottom: 0;
  }
  .flow::before { display: none; }
  .flow-step {
    flex: none; min-width: auto; scroll-snap-align: none;
    flex-direction: row; align-items: center; text-align: left;
    gap: 16px; padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .flow-step:last-child { border-bottom: none; }
  .flow-step h3 { max-width: none; }
  .flow-step p  { max-width: none; }
  .app-cards { grid-template-columns: 1fr; }
}
