/* hiw.css — How It Works page */

/* ── Page header ────────────────────────────────────────── */

.hiw-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 80px 64px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
}

.hiw-header__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--td-yellow);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hiw-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--td-cream);
  margin-bottom: 20px;
}

.hiw-header__sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(245, 240, 230, 0.65);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hiw-header__jumps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hiw-header__jump-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 230, 0.35);
  text-transform: uppercase;
  margin-right: 16px;
}

.hiw-header__jump {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 230, 0.5);
  text-decoration: none;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(245, 240, 230, 0.12);
  margin-right: 8px;
  transition: color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}

.hiw-header__jump:hover {
  color: var(--td-yellow);
  border-color: var(--td-yellow);
}

.hiw-header__jump:focus-visible {
  outline: 2px solid var(--td-yellow);
  outline-offset: 2px;
}

/* ── Sections ───────────────────────────────────────────── */

.hiw-section {
  border-bottom: 1px solid rgba(245, 240, 230, 0.12);
  position: relative;
  overflow: hidden;
}

.hiw-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 80px 88px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
  position: relative;
}

/* Ghost step number — decorative, blueprint feel */
.hiw-section__ghost {
  position: absolute;
  top: -20px;
  left: 60px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 240px;
  line-height: 1;
  color: var(--td-cream);
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

/* ── Left: text ─────────────────────────────────────────── */

.hiw-section__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hiw-section__ref {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--td-yellow);
  text-transform: uppercase;
}

.hiw-section__price {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 230, 0.4);
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid rgba(245, 240, 230, 0.15);
}

.hiw-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.5vw, 64px);
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--td-cream);
  margin-bottom: 24px;
}

.hiw-section__body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(245, 240, 230, 0.7);
  max-width: 480px;
}

.hiw-section__note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 230, 0.3);
  text-transform: uppercase;
  margin-top: 20px;
}

/* ── Right: spec card ───────────────────────────────────── */

.hiw-spec {
  border: 1px solid rgba(245, 240, 230, 0.15);
  position: relative;
}

.hiw-spec__heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(245, 240, 230, 0.35);
  text-transform: uppercase;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.1);
}

.hiw-spec__items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hiw-spec__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.07);
}

.hiw-spec__item:last-child {
  border-bottom: none;
}

.hiw-spec__dash {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--td-yellow);
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 1px;
}

.hiw-spec__text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(245, 240, 230, 0.6);
}

.hiw-spec__footer {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 230, 0.25);
  text-transform: uppercase;
  padding: 10px 16px;
  border-top: 1px solid rgba(245, 240, 230, 0.1);
}

/* ── CTA band ───────────────────────────────────────────── */

.hiw-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hiw-cta__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  text-transform: uppercase;
  line-height: 1.0;
  color: var(--td-cream);
}

.hiw-cta__sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(245, 240, 230, 0.4);
  text-transform: uppercase;
  margin-top: 10px;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hiw-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hiw-section__ghost {
    font-size: 160px;
    top: -10px;
    left: 20px;
  }
}

@media (max-width: 900px) {
  .hiw-header        { padding: 48px 20px 48px; }
  .hiw-section__inner { padding: 56px 20px 64px; }
  .hiw-cta           { padding: 64px 20px; flex-direction: column; align-items: flex-start; }
  .hiw-section__ghost { font-size: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-header__jump { transition: none; }
}
