
/* RUFUS How It Works — dedicated page redesign */
.rhw-page {
  --rhw-navy: #201543;
  --rhw-orange: #ff6f3e;
  --rhw-pink: #ff4f82;
  --rhw-green: #1bb59d;
  --rhw-mint: #e8fbf5;
  --rhw-cream: #fff8ee;
  --rhw-border: rgba(255,111,62,.18);
  --rhw-shadow: 0 22px 58px rgba(32,21,67,.10);
  background:
    radial-gradient(circle at 7% 13%, rgba(255,111,62,.07), transparent 18rem),
    radial-gradient(circle at 96% 24%, rgba(116,210,196,.15), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #fbfffd 50%, #fffaf4 100%);
  padding: 1.2rem 0 3rem;
}

.rhw-wrap {
  width: min(1120px, calc(100vw - 44px));
  margin: 0 auto;
}

.rhw-hero-card {
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,79,130,.13), transparent 9rem),
    radial-gradient(circle at 8% 72%, rgba(116,210,196,.18), transparent 10rem),
    linear-gradient(135deg, #fffaf3 0%, #ffffff 55%, #eafbf7 100%);
  border: 1px solid rgba(32,21,67,.08);
  box-shadow: var(--rhw-shadow);
}

.rhw-hero-copy span {
  display: block;
  color: var(--rhw-pink);
  font-size: 1.2rem;
  margin-bottom: .4rem;
}

.rhw-hero-card h1 {
  margin: 0;
  color: var(--rhw-navy);
  font-size: clamp(2.3rem, 5.5vw, 4.6rem);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 1000;
}

.rhw-hero-card p {
  max-width: 720px;
  margin: .75rem 0 0;
  color: rgba(32,21,67,.62);
  font-size: clamp(.98rem, 2vw, 1.1rem);
  line-height: 1.55;
  font-weight: 800;
}

.rhw-hero-card p strong {
  color: var(--rhw-pink);
}

.rhw-hero-card img {
  width: clamp(116px, 16vw, 210px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(32,21,67,.12));
}

.rhw-quick,
.rhw-details,
.rhw-bottom-cta {
  margin-top: 1.5rem;
  border-radius: 32px;
  border: 1px solid var(--rhw-border);
  background:
    radial-gradient(circle at 91% 10%, rgba(255,79,130,.10), transparent 7rem),
    rgba(255,255,255,.82);
  box-shadow: 0 18px 50px rgba(32,21,67,.07);
}

.rhw-quick {
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
}

.rhw-section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.rhw-section-head > span {
  display: inline-flex;
  align-items: center;
  padding: .42rem .85rem;
  margin-bottom: .75rem;
  border-radius: 999px;
  color: var(--rhw-orange);
  background: #fff;
  border: 1px solid rgba(255,111,62,.20);
  font-size: .78rem;
  font-weight: 1000;
}

.rhw-section-head h2 {
  margin: 0;
  color: var(--rhw-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 1000;
}

.rhw-section-head h2 b {
  color: var(--rhw-orange);
}

.rhw-section-head p {
  margin: .55rem 0 0;
  color: rgba(32,21,67,.56);
  font-weight: 820;
}

.rhw-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.35rem);
}

.rhw-step-card {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 17px 36px rgba(32,21,67,.12);
  background: #fff;
}

.rhw-step-card img {
  width: 100%;
  height: 100%;
  min-height: 285px;
  display: block;
  object-fit: cover;
  filter: saturate(.92) contrast(.98);
}

.rhw-step-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,21,67,.03), rgba(32,21,67,.25));
  pointer-events: none;
}

.rhw-step-card i {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 1.1rem;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--rhw-orange);
  font-style: normal;
  font-weight: 1000;
  border: 4px solid #fff;
  box-shadow: 0 12px 22px rgba(32,21,67,.18);
}

.rhw-step-card.rhw-green i {
  background: var(--rhw-green);
}

.rhw-step-card.rhw-pink i {
  background: var(--rhw-pink);
}

.rhw-step-card div {
  position: absolute;
  z-index: 3;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 30px rgba(32,21,67,.12);
  text-align: center;
}

.rhw-step-card h3 {
  margin: 0 0 .38rem;
  color: var(--rhw-orange);
  font-size: 1.18rem;
  line-height: 1.15;
  font-weight: 1000;
}

.rhw-step-card.rhw-green h3 {
  color: var(--rhw-green);
}

.rhw-step-card.rhw-pink h3 {
  color: var(--rhw-pink);
}

.rhw-step-card p {
  margin: 0;
  color: rgba(32,21,67,.65);
  font-size: .88rem;
  line-height: 1.42;
  font-weight: 780;
}

.rhw-mini-btn {
  width: fit-content;
  min-height: 44px;
  margin: 1.4rem auto 0;
  padding: 0 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 999px;
  color: var(--rhw-navy);
  background: #fff;
  border: 1px solid rgba(32,21,67,.10);
  text-decoration: none;
  font-weight: 1000;
  box-shadow: 0 10px 22px rgba(32,21,67,.08);
}

.rhw-mini-btn span {
  color: var(--rhw-orange);
}

.rhw-details {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(1.3rem, 3vw, 2.2rem);
  align-items: start;
  padding: clamp(1.25rem, 3.5vw, 2.4rem);
}

.rhw-detail-list {
  display: grid;
}

.rhw-detail-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,111,62,.18);
}

.rhw-detail-item:last-child {
  border-bottom: 0;
}

.rhw-detail-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--rhw-orange), #ff8d2a);
  font-size: 1.35rem;
  box-shadow: 0 14px 24px rgba(255,111,62,.20);
}

.rhw-detail-item.rhw-green .rhw-detail-icon {
  background: linear-gradient(135deg, var(--rhw-green), #12a88d);
}

.rhw-detail-item.rhw-pink .rhw-detail-icon {
  background: linear-gradient(135deg, var(--rhw-pink), #ff6e9d);
}

.rhw-detail-item h3 {
  margin: 0 0 .45rem;
  color: var(--rhw-orange);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.15;
  font-weight: 1000;
}

.rhw-detail-item.rhw-green h3 {
  color: var(--rhw-green);
}

.rhw-detail-item.rhw-pink h3 {
  color: var(--rhw-pink);
}

.rhw-detail-item p {
  margin: 0;
  color: rgba(32,21,67,.66);
  font-size: .96rem;
  line-height: 1.72;
  font-weight: 720;
}

.rhw-video-card {
  position: sticky;
  top: 105px;
  align-self: start;
  padding: .72rem;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff7ec, #fff0f6);
  border: 1px solid rgba(255,111,62,.16);
  box-shadow: 0 18px 42px rgba(32,21,67,.10);
}

.rhw-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 570px;
  display: block;
  object-fit: contain;
  border-radius: 22px;
  background: #fffaf2;
  cursor: pointer;
}

.rhw-video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .78rem .35rem .1rem;
  color: rgba(32,21,67,.60);
  font-size: .84rem;
  line-height: 1.3;
  font-weight: 820;
}

.rhw-video-caption b {
  color: var(--rhw-navy);
  font-weight: 1000;
}

.rhw-bottom-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(255,111,62,.10), transparent 10rem),
    linear-gradient(135deg, #fff8ed, #ffffff);
}

.rhw-bottom-cta span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,79,130,.10);
  color: var(--rhw-pink);
  font-size: 1.5rem;
}

.rhw-bottom-cta h2 {
  margin: 0;
  color: var(--rhw-navy);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.08;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.rhw-bottom-cta p {
  margin: .25rem 0 0;
  color: rgba(32,21,67,.62);
  font-weight: 820;
}

.rhw-bottom-cta a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--rhw-orange), var(--rhw-pink));
  text-decoration: none;
  font-weight: 1000;
  box-shadow: 0 14px 28px rgba(255,79,130,.24);
  white-space: nowrap;
}

.rhw-bottom-cta a i {
  font-style: normal;
}

@media (max-width: 920px) {
  .rhw-wrap {
    width: min(100% - 30px, 1120px);
  }

  .rhw-hero-card {
    min-height: 210px;
  }

  .rhw-step-grid,
  .rhw-details {
    grid-template-columns: 1fr;
  }

  .rhw-video-card {
    position: relative;
    top: auto;
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .rhw-bottom-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rhw-bottom-cta span {
    margin: 0 auto;
  }

  .rhw-bottom-cta a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .rhw-page {
    padding-top: .8rem;
  }

  .rhw-hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.25rem;
    border-radius: 24px;
  }

  .rhw-hero-card img {
    width: 108px;
    margin: 0 auto;
  }

  .rhw-quick,
  .rhw-details,
  .rhw-bottom-cta {
    border-radius: 24px;
  }

  .rhw-step-card {
    min-height: 260px;
  }

  .rhw-step-card img {
    min-height: 260px;
  }

  .rhw-detail-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rhw-detail-icon {
    margin: 0 auto;
  }

  .rhw-video-card {
    width: min(100%, 320px);
  }
}

/* v26 — solid, non-illustrative process design */
.rhw-page {
  --rhw-navy:#073c48;
  --rhw-teal:#075c65;
  --rhw-orange:#f0644b;
  --rhw-pink:#f0644b;
  --rhw-green:#16856f;
  --rhw-mint:#edf4ef;
  --rhw-cream:#faf8f4;
  --rhw-border:#d8e1dc;
  --rhw-muted:#586f73;
  --rhw-shadow:0 14px 38px rgba(7,60,72,.07);
  padding:2rem 0 3rem;
  background:var(--rhw-cream);
}
.rhw-wrap{width:min(1120px,calc(100% - 48px))}
.rhw-quick,
.rhw-details{
  margin-top:0;
  border:1px solid var(--rhw-border);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--rhw-shadow);
}
.rhw-quick{padding:clamp(1.35rem,3vw,2rem)}
.rhw-section-head{
  max-width:760px;
  margin:0 auto 1.35rem;
  text-align:center;
}
.rhw-section-head>span{
  margin-bottom:.65rem;
  padding:.36rem .75rem;
  border-color:#f2b7aa;
  border-radius:999px;
  color:var(--rhw-orange);
  background:#fff8f5;
  font-size:.72rem;
}
.rhw-section-head h2{
  color:var(--rhw-navy);
  font-size:clamp(1.8rem,3.2vw,2.5rem);
  line-height:1.08;
  letter-spacing:-.035em;
}
.rhw-section-head p{margin-top:.5rem;color:var(--rhw-muted);font-weight:600;line-height:1.55}
.rhw-step-grid{position:relative;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.rhw-step-card{
  position:relative;
  min-height:215px;
  overflow:visible;
  padding:1.3rem;
  border:1px solid var(--rhw-border);
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 16px rgba(7,60,72,.045);
  text-align:left;
}
.rhw-step-card::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:4px;
  border-radius:14px 14px 0 0;
  background:var(--rhw-orange);
}
.rhw-step-card.rhw-green::before{background:var(--rhw-teal)}
.rhw-step-card.rhw-pink::before{background:var(--rhw-orange)}
.rhw-step-card::after,.rhw-step-card img{display:none}
.rhw-step-card .rhw-step-top{
  position:static;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 0 1.15rem;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  text-align:left;
}
.rhw-step-card i{
  position:static;
  transform:none;
  width:auto;
  height:auto;
  display:block;
  border:0;
  border-radius:0;
  color:var(--rhw-orange);
  background:transparent!important;
  box-shadow:none;
  font-size:.78rem;
  letter-spacing:.08em;
}
.rhw-step-card.rhw-green i{color:var(--rhw-teal)}
.rhw-step-top span{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #cfe0d8;
  border-radius:10px;
  color:var(--rhw-teal);
  background:var(--rhw-mint);
  font-size:1.2rem;
  font-weight:900;
}
.rhw-step-card h3,
.rhw-step-card.rhw-green h3,
.rhw-step-card.rhw-pink h3{
  margin:0 0 .55rem;
  color:var(--rhw-navy);
  font-size:1.08rem;
  line-height:1.3;
}
.rhw-step-card p{
  margin:0;
  color:var(--rhw-muted);
  font-size:.86rem;
  line-height:1.6;
  font-weight:570;
}
.rhw-mini-btn{
  min-height:42px;
  margin-top:1.25rem;
  border-color:#cfe0d8;
  border-radius:9px;
  color:var(--rhw-teal);
  box-shadow:none;
}
.rhw-mini-btn:hover{border-color:var(--rhw-teal);background:var(--rhw-mint)}
.rhw-details{
  margin-top:1rem;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  gap:1.4rem;
  padding:clamp(1.2rem,3vw,1.8rem);
}
.rhw-detail-list{gap:0}
.rhw-detail-item{
  grid-template-columns:48px 1fr;
  gap:.9rem;
  padding:1.05rem 0;
  border-color:var(--rhw-border);
}
.rhw-detail-icon,
.rhw-detail-item.rhw-green .rhw-detail-icon,
.rhw-detail-item.rhw-pink .rhw-detail-icon{
  width:44px;
  height:44px;
  border:1px solid #cfe0d8;
  border-radius:10px;
  color:var(--rhw-teal);
  background:var(--rhw-mint);
  box-shadow:none;
  font-size:.82rem;
  font-weight:900;
}
.rhw-detail-item h3,
.rhw-detail-item.rhw-green h3,
.rhw-detail-item.rhw-pink h3{
  margin:0 0 .35rem;
  color:var(--rhw-navy);
  font-size:clamp(1.02rem,1.8vw,1.22rem);
  line-height:1.3;
}
.rhw-detail-item p{
  color:var(--rhw-muted);
  font-size:.9rem;
  line-height:1.66;
  font-weight:570;
}
.rhw-video-card{
  top:92px;
  padding:.6rem;
  border-color:var(--rhw-border);
  border-radius:14px;
  background:#fff;
  box-shadow:0 9px 24px rgba(7,60,72,.07);
}
.rhw-video{border-radius:10px;background:#f4f8f5}
.rhw-video-caption{color:var(--rhw-muted);font-weight:600}
.rhw-video-caption b{color:var(--rhw-navy)}

@media(max-width:920px){
  .rhw-wrap{width:min(100% - 28px,1120px)}
  .rhw-step-grid{grid-template-columns:1fr}
  .rhw-step-card{min-height:0}
}
@media(max-width:560px){
  .rhw-page{padding-top:1rem}
  .rhw-wrap{width:min(100% - 20px,1120px)}
  .rhw-quick,.rhw-details{border-radius:15px}
  .rhw-quick{padding:1rem}
  .rhw-section-head{text-align:left}
  .rhw-step-card{padding:1.1rem;border-radius:12px}
  .rhw-detail-item{grid-template-columns:42px 1fr;text-align:left}
  .rhw-detail-icon{margin:0;width:40px;height:40px}
}
