/* The How it works page (site revamp D44; HowItWorks.dc.html; the build loop's item 4b), behind REVAMP_HOW_IT_WORKS.
   On top of /css/revamp.css (body.rv.rv-home), in the mockup's sizes and colours. */
.hiw-main { width: 100%; box-sizing: border-box; max-width: 1200px; margin: 0 auto; padding: 48px 32px 80px; display: flex; flex-direction: column; gap: 72px; font-size: 16px; line-height: 1.55; }
.rv-hiw main a { color: var(--rv-orange-text); }
.hiw-main h2 { font-family: var(--rv-display); font-weight: 800; font-size: 44px; letter-spacing: -0.04em; line-height: 1.1; }
.hiw-main h3 { font-family: var(--rv-display); }

.hiw-intro { display: flex; flex-direction: column; gap: 20px; }
.hiw-intro h1 { font-family: var(--rv-display); font-weight: 800; font-size: 64px; line-height: 1.02; letter-spacing: -0.045em; }
.hiw-lead { margin: 0; font-size: 21px; color: var(--rv-body); max-width: 800px; }
.hiw-lead strong, .hiw-brands strong { color: var(--rv-ink); }
.hiw-brands { display: flex; flex-wrap: wrap; gap: 12px; max-width: 900px; }
.hiw-brands p { flex: 1 1 300px; margin: 0; background: #FFFFFF; border: 1px solid var(--rv-rule); border-radius: 12px; padding: 16px 18px; color: var(--rv-body); }
.hiw-jump { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.rv-hiw .hiw-jump a { font-size: 14px; font-weight: 600; color: var(--rv-ink); background: #FFFFFF; border: 1px solid var(--rv-line2); border-radius: 999px; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; box-sizing: border-box; }
.rv-hiw .hiw-jump a:hover { border-color: var(--rv-ink); }

.hiw-sec { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 16px; }
.hiw-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hiw-sec-intro { display: flex; flex-direction: column; gap: 10px; }
.hiw-sec-intro p { margin: 0; color: var(--rv-body); font-size: 17px; max-width: 800px; }
.hiw-sec-intro p.hiw-price18 { color: var(--rv-ink, #141414); font-size: 19px; }
.hiw-sec-intro p.hiw-price18 strong { font-family: var(--rv-display); font-weight: 700; }

/* Getting started */
.hiw-panel { margin-top: 4px; display: flex; flex-direction: column; gap: 28px; }
.hiw-panel[hidden] { display: none; }
.hiw-problem { margin: 0; font-family: var(--rv-display); font-weight: 700; font-size: 26px; letter-spacing: -0.025em; line-height: 1.25; max-width: 780px; }
.hiw-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.hiw-steps li { box-sizing: border-box; flex: 1 1 250px; background: #FFFFFF; border: 1px solid var(--rv-rule); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.hiw-step-n { width: 36px; height: 36px; border-radius: 8px; background: var(--rv-orange-btn); color: #FFFFFF; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.hiw-step-t { font-family: var(--rv-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1.25; }
.hiw-step-b { color: var(--rv-body); font-size: 15px; }
.hiw-cta-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.rv-hiw .hiw-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--rv-orange-btn); color: #FFFFFF; padding: 0 20px; min-height: 48px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.rv-hiw .hiw-btn:hover { background: var(--rv-orange-text); }
.hiw-note { font-size: 14px; color: var(--rv-soft); }

/* Plans */
.hiw-billing-row { display: flex; justify-content: flex-end; }
.rv-seg button[aria-pressed="true"] { background: var(--rv-ink); color: #FFFFFF; font-weight: 600; }
.hiw-plans { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.hiw-plan { box-sizing: border-box; flex: 1 1 250px; min-width: 0; background: #FFFFFF; color: var(--rv-ink); border: 1px solid var(--rv-rule); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; --muted: var(--rv-soft); --strong: var(--rv-ink); --rule: var(--rv-rule); }
.hiw-plan-dark { background: var(--rv-ink); color: #FFFFFF; border-color: var(--rv-ink); --muted: #C9C4BD; --strong: #FFFFFF; --rule: #3A3734; }
/* The brand names keep their casing (guarantees amendment 6, G4): no uppercase on reLease or reVenue. */
.hiw-brand { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--rv-orange-text); }
.hiw-plan-dark .hiw-brand { color: #F7A27C; }
.hiw-plan-name { margin: 0; font-weight: 800; font-size: 24px; letter-spacing: -0.025em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hiw-soon { font-family: var(--rv-text); font-size: 12px; font-weight: 600; letter-spacing: 0; background: var(--rv-ink); color: #FFFFFF; border-radius: 999px; padding: 4px 10px; }
.hiw-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hiw-price[hidden], .hiw-for[hidden] { display: none; }
.hiw-was { font-family: var(--rv-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; opacity: 0.55; }
.hiw-amt { font-family: var(--rv-display); font-weight: 800; font-size: 36px; letter-spacing: -0.03em; line-height: 1.1; }
.hiw-unit { font-size: 15px; font-weight: 600; color: var(--muted); }
.hiw-for { margin: 0; font-size: 14px; color: var(--muted); }
.hiw-box { margin: 0; display: flex; flex-direction: column; gap: 4px; background: #FDEDE4; color: #4A2A1C; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.hiw-box strong { color: var(--rv-orange-ink); font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; }
/* "reLease" keeps its casing, even in a caps label (guarantees law G4). */
.hiw-box[data-guarantee="network-pass"] strong { text-transform: none; letter-spacing: 0; }
.hiw-box-who { font-weight: 700; font-size: 12px; }
.hiw-feats { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.hiw-feats li, .hiw-qualify li, .hiw-trust-card li { display: flex; gap: 8px; align-items: flex-start; }
.hiw-check { flex: 0 0 16px; margin-top: 3px; }
.hiw-plan-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.hiw-plan-foot strong { color: var(--strong); }
.rv-hiw .hiw-plan-cta { margin-top: 8px; display: inline-flex; justify-content: center; align-items: center; background: #FFFFFF; color: var(--rv-ink); border: 1px solid var(--rv-ink); padding: 0 16px; border-radius: 10px; font-weight: 600; font-size: 15px; min-height: 44px; box-sizing: border-box; text-decoration: none; text-align: center; }
.rv-hiw .hiw-plan-dark .hiw-plan-cta { background: var(--rv-orange-btn); color: #FFFFFF; border-color: var(--rv-orange-btn); }

.hiw-table-card { background: #FFFFFF; border: 1px solid var(--rv-rule); border-radius: 14px; overflow: hidden; }
.hiw-card-head { padding: 20px 24px; border-bottom: 1px solid var(--rv-rule); }
.hiw-card-head h3 { margin: 0; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.hiw-card-head p { margin: 4px 0 0; color: var(--rv-soft); font-size: 15px; }
.hiw-scroll { overflow-x: auto; }
.hiw-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.hiw-table thead tr { background: var(--rv-ground); }
.hiw-table th, .hiw-table td { padding: 12px 16px; text-align: left; vertical-align: top; }
.hiw-table thead th { font-weight: 700; }
.hiw-table thead th span { font-weight: 500; color: var(--rv-soft); }
.hiw-table tbody th, .hiw-table tbody td { border-top: 1px solid var(--rv-rule); }
.hiw-table tbody th { font-weight: 600; }
.hiw-sub { display: block; font-weight: 400; font-size: 13px; color: var(--rv-soft); }
.hiw-no { color: #7A746C; }
.hiw-yes { color: var(--rv-orange-ink); font-weight: 700; }
.hiw-dim { color: #6E685F; }
.hiw-pay-row { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 16px 24px; border-bottom: 1px solid #EFECE7; }
.hiw-pay-what { flex: 1 1 320px; font-weight: 600; }
.hiw-pay-cost { flex: 1 1 360px; color: var(--rv-body); }
.hiw-pay-foot { margin: 0; padding: 16px 24px; font-size: 14px; color: var(--rv-soft); background: #FBFAF8; }
.hiw-founder { margin: 0; background: #FDEDE4; border: 1px solid #F3BFA3; border-radius: 14px; padding: 18px 22px; color: var(--rv-body); }
.hiw-founder strong { color: var(--rv-ink); }

/* Guarantees */
.hiw-g-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.hiw-promise { box-sizing: border-box; flex: 1 1 520px; min-width: 0; background: var(--rv-ink); color: #FFFFFF; border: 0; border-radius: 16px; padding: 30px; }
.hiw-promise[hidden] { display: none; }
.hiw-promise .rr-line { margin: 0 0 10px; color: #E4E0DA; }
.hiw-promise .rr-line-lead { font-family: var(--rv-display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1.15; color: #FFFFFF; }
.rv-hiw .hiw-promise .rr-terms { color: #F7A27C; font-weight: 600; }
.hiw-g100 { box-sizing: border-box; flex: 1 1 420px; min-width: 0; background: #FFFFFF; border: 2px solid var(--rv-ink); border-radius: 16px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.hiw-g-head { display: flex; flex-direction: column; gap: 6px; }
.hiw-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--rv-orange-text); }
.hiw-g100 h3 { margin: 0; font-weight: 800; font-size: 30px; letter-spacing: -0.03em; line-height: 1.15; }
.hiw-offer { border: 1px solid var(--rv-rule); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.hiw-offer p { margin: 0; color: var(--rv-body); }
.hiw-offer strong { color: var(--rv-ink); }
.hiw-offer-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hiw-offer-h > span:first-child { font-family: var(--rv-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--rv-ink); }
.hiw-chip { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: #FDEDE4; color: var(--rv-orange-ink); }
.hiw-chip-dark { background: var(--rv-ink); color: #FFFFFF; }
.hiw-fine { margin: 0; background: var(--rv-ground); border-radius: 10px; padding: 14px 16px; font-size: 13px; color: var(--rv-soft); }
.hiw-qualify { border-top: 1px solid var(--rv-rule); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.hiw-qualify h4 { margin: 0; font-weight: 700; font-size: 15px; }
.hiw-qualify ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--rv-body); }
.hiw-qualify strong { color: var(--rv-ink); }

/* Safety & trust */
.hiw-trust { display: flex; flex-wrap: wrap; gap: 16px; }
.hiw-trust-card { box-sizing: border-box; flex: 1 1 520px; min-width: 0; background: #FFFFFF; border: 1px solid var(--rv-rule); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.hiw-trust-head { display: flex; align-items: center; gap: 12px; }
.hiw-trust-icon { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--rv-ink); display: flex; align-items: center; justify-content: center; }
.hiw-trust-card h3 { margin: 0; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.hiw-who { font-size: 13px; color: var(--rv-soft); }
.hiw-trust-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--rv-body); }

/* FAQ */
.hiw-faq { flex-direction: row; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.hiw-faq > div:first-child { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.hiw-faq .rv-faq-list { flex: 999 1 560px; min-width: 0; }
.hiw-faq-sub { margin: 0; color: var(--rv-soft); }
.hiw-faq-sub a { font-weight: 600; }

/* Closing call to action */
.hiw-close { background: var(--rv-ink); color: #FFFFFF; border-radius: 18px; padding: 40px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.hiw-close > div:first-child { flex: 1 1 460px; display: flex; flex-direction: column; gap: 8px; }
.hiw-close h2 { font-size: 38px; letter-spacing: -0.035em; color: #FFFFFF; }
.hiw-close h2 span { color: #F7804F; }
.hiw-close p { margin: 0; color: #C9C4BD; }
.hiw-close-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.rv-hiw .hiw-close-ctas a { display: inline-flex; align-items: center; padding: 0 20px; min-height: 48px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; box-sizing: border-box; }
.rv-hiw .hiw-close-ctas .hiw-c1 { background: var(--rv-orange-btn); color: #FFFFFF; }
.rv-hiw .hiw-close-ctas .hiw-c2 { background: #FFFFFF; color: var(--rv-ink); }
.rv-hiw .hiw-close-ctas .hiw-c3 { border: 1px solid #FFFFFF; color: #FFFFFF; }

@media (max-width: 640px) {
  .hiw-main { padding: 32px 16px 56px; gap: 56px; }
  .hiw-intro h1 { font-size: 42px; }
  .hiw-lead { font-size: 18px; }
  .hiw-main h2 { font-size: 34px; }
  .hiw-problem { font-size: 22px; }
  .hiw-billing-row { justify-content: flex-start; }
  .hiw-billing { width: auto; }
  .hiw-g100, .hiw-promise { padding: 22px; }
  .hiw-g100 h3 { font-size: 24px; }
  .hiw-pay-row, .hiw-card-head { padding-left: 18px; padding-right: 18px; }
  .hiw-close { padding: 28px 22px; }
  .hiw-close h2 { font-size: 30px; }
  .hiw-faq { gap: 20px; }
}
