/* ── How-it-works Styles ──
   Extends the landing page theme.css tokens:
   --bg, --bg-2, --bg-3, --fg, --fg-muted, --accent, --accent-dim,
   --accent-glow, --border, --font-head, --font-body
*/

.how-page { min-height: 100vh; }

/* ── Hero ── mirrors .match-header from match.css */
.how-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 120px 48px 56px;
  position: relative;
  overflow: hidden;
}
.how-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(232,184,75,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.how-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.how-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.how-title {
  font-family: var(--font-head); font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 700; color: var(--fg); line-height: 1.15; margin-bottom: 18px;
}
.how-sub { font-size: 17px; color: var(--fg-muted); line-height: 1.7; max-width: 600px; }

/* ── Main ── */
.how-main { padding: 48px 48px 96px; max-width: 1100px; margin: 0 auto; }

/* ── Five-dimension Grid ── */
.how-section-title {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--fg); margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.how-dim-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 64px;
}
.how-dim-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s;
}
.how-dim-card:hover { border-color: rgba(232,184,75,0.2); }
.how-dim-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.how-dim-label {
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--fg); margin: 0;
}
.how-dim-weight {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-dim);
  border: 1px solid rgba(232,184,75,0.2);
  padding: 4px 10px; border-radius: 100px;
  flex-shrink: 0;
}
.how-dim-summary {
  font-size: 14px; color: var(--fg); line-height: 1.6; margin: 0;
}
.how-dim-detail {
  font-size: 13px; color: var(--fg-muted); line-height: 1.6; margin: 0;
}

/* ── Threshold band ── mirrors .threshold-note styling */
.how-threshold {
  background: var(--bg-2);
  border: 1px solid rgba(232,184,75,0.2);
  border-radius: 16px;
  padding: 40px 48px;
  margin-bottom: 64px;
  display: flex; align-items: center; gap: 32px;
}
.how-threshold-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; width: 100%; }
.how-threshold-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--fg-muted);
}
.how-threshold-number {
  font-family: var(--font-head); font-size: 72px;
  font-weight: 800; color: var(--accent); line-height: 1;
}
.how-threshold-note {
  font-size: 14px; color: var(--fg-muted); line-height: 1.7; margin: 0;
  flex: 1; min-width: 240px;
}
.how-threshold-note a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(232,184,75,0.3); }
.how-threshold-note a:hover { border-bottom-color: var(--accent); }

/* ── Dual CTA ── */
.how-cta { text-align: center; }
.how-cta-note {
  font-size: 13px; color: var(--fg-muted); margin-top: 18px; line-height: 1.7;
}
.how-cta-note a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(232,184,75,0.3); }
.how-cta-note a:hover { border-bottom-color: var(--accent); }
.how-cta-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--accent); margin-right: 4px;
}
.how-cta-sep { margin: 0 10px; color: var(--border); }

/* ── Responsive ── */
@media (max-width: 800px) {
  .how-hero { padding: 96px 24px 40px; }
  .how-main { padding: 32px 24px 64px; }
  .how-dim-grid { grid-template-columns: 1fr; }
  .how-threshold { padding: 28px 24px; }
  .how-threshold-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .how-threshold-number { font-size: 56px; }
}
