/* =========================
   Refill System page — builds on the hx- components in home.css
   ========================= */

/* ---------- Hero ---------- */
.rf-hero {
  background-color: var(--hx-deep);
  color: var(--hx-cream);
  padding: 64px 0 72px;
}

.rf-hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
}

.rf-hero__copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rf-hero__copy .hx-eyebrow {
  margin-bottom: 0;
}

.rf-hero__title {
  margin: 0;
  font-size: clamp(4rem, 8.4vw, 7.4rem);
  color: var(--hx-cream);
}

.rf-hero__title span {
  color: var(--hx-gold);
}

.rf-hero__lede {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #E7E1C9;
  max-width: 34rem;
}

.rf-hero__media {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 520px;
  margin: 0 auto;
}

.rf-hero__media img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

/* ---------- Steps ---------- */
.rf-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.rf-step {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--hx-line);
  border-radius: 24px;
  padding: 30px 28px 28px;
  overflow: hidden;
}

.rf-step__num {
  display: block;
  font-size: 5.5rem;
  line-height: .85;
  color: var(--hx-gold);
}

.rf-step__title {
  margin: 14px 0 10px;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--hx-deep);
}

.rf-step p {
  margin: 0;
  color: var(--hx-body);
  line-height: 1.6;
}

/* ---------- DIY paste ---------- */
.rf-mix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 56px;
}

.rf-mix__head {
  flex: 1 1 400px;
  min-width: 0;
}

.rf-rust {
  color: var(--hx-rust);
}

.rf-mixsteps {
  flex: 1 1 480px;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rf-mixsteps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--hx-sand);
  border-radius: 20px;
  padding: 20px;
}

.rf-mixsteps__n {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hx-rust);
  color: var(--hx-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hx-display);
  font-size: 1.35rem;
}

.rf-mixsteps strong {
  display: block;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--hx-deep);
}

.rf-mixsteps p {
  margin: 4px 0 0;
  color: var(--hx-body);
  line-height: 1.5;
  font-size: .95rem;
}

/* ---------- Why refill ---------- */
.rf-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.rf-why__item {
  background: rgba(252, 245, 224, .08);
  border-radius: 22px;
  padding: 26px 24px;
}

.rf-why__item strong {
  display: block;
  font-weight: 400;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--hx-gold);
}

.rf-why__item p {
  margin: 10px 0 0;
  color: #E7E1C9;
  line-height: 1.6;
}

/* ---------- Tips ---------- */
.rf-tips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
}

.rf-tips__media {
  flex: 1 1 420px;
  min-width: 0;
  margin: 0;
}

.rf-tips__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
}

.rf-tips__copy {
  flex: 1 1 460px;
  min-width: 0;
}

.rf-tips__copy .hx-h2 {
  margin-bottom: 22px;
}

.rf-tiplist {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.rf-tiplist li {
  position: relative;
  padding-left: 32px;
  line-height: 1.6;
  color: var(--hx-body);
}

.rf-tiplist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E6E3E' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

.rf-tiplist strong {
  color: var(--hx-ink);
}

/* ---------- CTA ---------- */
.rf-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 680px) {
  .rf-hero {
    padding: 40px 0 48px;
  }

  .rf-mixsteps {
    grid-template-columns: 1fr;
  }

  .rf-cta__btns {
    width: 100%;
  }
}
