/* What You Get — Figma 2330:486 / 2347:1618 (Bento) */
.benefits {
  --benefits-tint: #edf3f7;   /* tinted bento cards + icon tiles */
  padding-top: 0;
}

/* 4 × 279.5px columns at 1160 = the Figma 573 / 279.5 / 279.5 split */
.benefits__bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: minmax(189px, auto) minmax(189px, auto) minmax(205px, auto);
  gap: 14px;
}
.benefits__item { display: flex; min-width: 0; }
.benefits__item--hero { grid-column: 1 / 3; grid-row: 1 / 3; min-height: 407px; }
.benefits__item--live { grid-column: 1 / 3; }
.benefits__item--refer { grid-column: 3 / 5; }

/* ---------- Card base ---------- */
.benefits__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  padding: 26px 24px;
  border-radius: 28px;
  transition: transform var(--t-card) var(--ease), box-shadow var(--t-card) var(--ease);
}
.benefits__card--tint { background: var(--benefits-tint); }
.benefits__card--line { background: var(--surface); border: 1px solid var(--line); }

@media (hover: hover) {
  .benefits__card:hover { transform: translateY(-4px); box-shadow: var(--el-md); }
}

.benefits__tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--benefits-tint);
}
.benefits__tile img { width: 17px; height: 17px; }
.benefits__tile--on-dark { background: rgba(49, 226, 154, .16); }

.benefits__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--ink);
}
.benefits__text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Hero: Look before you sign up ---------- */
.benefits__card--hero {
  overflow: hidden;
  padding-bottom: 0;
  background: linear-gradient(163.99deg, var(--ink-btn) 11.59%, #0a5e68 88.41%);
}
.benefits__hero-title {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: #fff;
}
.benefits__hero-text {
  max-width: 360px;
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 27px;            /* Figma: 9px gap + 18px spacer + 9px gap above the shot */
  color: rgba(255, 255, 255, .78);
}
.benefits__shot {
  flex: none;
  width: 100%;
  height: 196px;
  margin-top: auto;               /* sits on the card's bottom edge */
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
}
.benefits__shot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Live value ---------- */
.benefits__card--live {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 24px;
}
.benefits__live-copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.benefits__chart {
  flex: 1 1 0;
  min-width: 0;
  height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.benefits__chart img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Refer & earn ---------- */
.benefits__card--refer {
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135.44deg, var(--cta-a) 10.99%, var(--cta-b) 89.01%);
  color: #fff;
}
.benefits__refer-kicker {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.benefits__refer-title {
  font-size: 31px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #fff;
}
.benefits__refer-text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
}

/* ---------- Tablet: 2-up ---------- */
@media (max-width: 1060px) {
  .benefits__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .benefits__item--hero,
  .benefits__item--live,
  .benefits__item--refer { grid-column: 1 / -1; grid-row: auto; }
  .benefits__item--hero { min-height: 0; }
}

/* ---------- Phone (390 frame): single column ---------- */
@media (max-width: 720px) {
  .benefits__bento { grid-template-columns: minmax(0, 1fr); }
  .benefits__card { padding: 24px 22px; border-radius: 24px; }

  .benefits__card--hero { padding: 26px 22px 0; }
  .benefits__hero-title { font-size: 23px; line-height: 1.18; }
  .benefits__hero-text { max-width: none; margin-bottom: 25px; font-size: 14px; }
  .benefits__shot { height: 120px; }

  .benefits__card--live { flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 22px; }
  .benefits__live-copy { display: contents; }
  .benefits__br { display: none; }
  .benefits__chart { flex: none; width: 100%; height: 160px; }

  .benefits__card--refer { padding: 26px 22px; }
  .benefits__refer-kicker { line-height: 1.4; }
  .benefits__refer-title { font-size: 26px; line-height: 1.15; }
}
