/* Every feature: one section per area, each a table in the style of the
   "What it usually costs" comparison (.rome-swap, light). */
.rf-wrap { font-feature-settings: "blwf" on, "cv03" on, "cv04" on, "cv09" on, "cv11" on; }
.rf-lead { font: 400 17px/1.5 "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-sec { margin-top: 72px; scroll-margin-top: 96px; }
.rf-sec:first-of-type { margin-top: 40px; }
.rf-sec__head { display: flex; align-items: flex-end; gap: 16px; margin: 0 4px 20px; }
.rf-sec__title { margin: 0; color: #14181f; font: 600 28px/1.1 "Google Sans", "Google Sans Placeholder", sans-serif; letter-spacing: -0.03em; }
.rf-sec__line { margin: 6px 0 0; color: rgba(20,24,31, 0.5); font: 400 17px/1.4 "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-sec__count { margin-left: auto; color: rgba(20,24,31, 0.5); font: 400 15px/1 "Google Sans", "Google Sans Placeholder", sans-serif; font-variant-numeric: tabular-nums; }

.rf-table { padding: 12px; border-radius: 24px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); }
.rf-scroll { overflow-x: auto; border-radius: 24px; }
.rf-table { min-width: 900px; }
.rf-row { display: grid; grid-template-columns: 32px 1fr 1.45fr 1.25fr 1.3fr; gap: 20px; align-items: start; padding: 14px 20px; border-radius: 14px; }
.rf-row > * { min-width: 0; }
.rf-row:nth-child(even) { background: #fafbfc; }
.rf-row--head { padding-top: 14px; padding-bottom: 14px; color: rgba(20,24,31, 0.5); font: 400 14px/1 "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-row--head:nth-child(even) { background: none; }
.rf-ic { display: grid; place-items: center; width: 32px; height: 32px; margin-top: -5px; border-radius: 10px; background: #ebedef; color: #14181f; }
.rf-row:nth-child(even) .rf-ic { background: #fff; }
.rf-ic svg { width: 17px; height: 17px; }
.rf-name { display: flex; flex-direction: column; align-items: flex-start; color: #14181f; font: 500 16px/1.35 "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-row p { margin: 0; color: #14181f; font: 400 15px/1.5 "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-row p.rf-benefit { color: #14181f; }
.rf-soon { display: inline-flex; align-items: center; height: 22px; margin-top: 6px; padding: 0 9px; border-radius: 100px; background: rgba(254, 104, 25, 0.12); color: #d9530f; font: 500 12px/1 "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-apps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rf-apps li { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 100px; background: #ebedef; color: #2c3340; font: 400 13px/1 "Google Sans", "Google Sans Placeholder", sans-serif; white-space: nowrap; }
.rf-row:nth-child(even) .rf-apps li { background: #fff; }
.rf-apps svg { width: 14px; height: 14px; fill: currentColor; flex: none; }

@media (max-width: 1100px) {
  .rf-row { gap: 16px; padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 809px) {
  .rf-sec { margin-top: 56px; }
  .rf-sec__head { margin: 0 2px 16px; }
  .rf-sec__title { font-size: 24px; }
  .rf-sec__line { font-size: 15px; }
  .rf-sec__count { display: none; }
  .rf-table { min-width: 0; padding: 8px; }
  .rf-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "name does" "apps does" "apps benefit"; grid-template-rows: auto 1fr auto; gap: 8px 14px; padding: 12px; }
  .rf-row > .rf-apps { align-self: start; }
  .rf-row > .rf-ic { display: none; }
  .rf-row > .rf-name { grid-area: name; font-size: 15px; }
  .rf-row > p:not(.rf-benefit) { grid-area: does; font-size: 14px; }
  .rf-row > p.rf-benefit { grid-area: benefit; font-size: 14px; color: rgba(20,24,31, 0.6); }
  .rf-row > .rf-apps { grid-area: apps; gap: 4px; }
  .rf-apps li { height: 24px; padding: 0 8px; gap: 5px; font-size: 12px; }
  .rf-apps svg { width: 12px; height: 12px; }
  .rf-row--head { grid-template-areas: "name does"; }
  .rf-row--head > span:nth-child(1), .rf-row--head > span:nth-child(4), .rf-row--head > span:nth-child(5) { display: none; }
  .rf-row--head > span:nth-child(2) { grid-area: name; }
  .rf-row--head > span:nth-child(3) { grid-area: does; }
}

/* The big subscriptions: one card per app. (Its own class: .rf-apps is the
   pill list in the tables, and sharing it squeezed the pills.) */
.rf-appcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.rf-app { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); font-family: "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-app__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.rf-app__logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #ebedef; color: #14181f; font: 600 18px/1 "Google Sans", sans-serif; }
.rf-app__logo svg { width: 24px; height: 24px; fill: currentColor; }
.rf-app__price { margin: 0; color: #6c727f; font-size: 14px; text-align: right; }
.rf-app__price b { display: block; color: #14181f; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rf-app__name { margin: 0; color: #14181f; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.rf-app__plan { margin: 4px 0 0; color: #6c727f; font-size: 14px; line-height: 1.45; }
.rf-app__count { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, 0.08); color: #14181f; font-size: 15px; }
.rf-app__count b { color: #d9530f; font-weight: 600; }
.rf-app__list { margin: 8px 0 0; color: #14181f; font-size: 14px; line-height: 1.55; }
.rf-apps-total { margin: 32px 0 0; text-align: center; color: #14181f; font: 500 19px/1.4 "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-note { max-width: 640px; margin: 12px auto 0; text-align: center; color: #6c727f; font: 400 13px/1.5 "Google Sans", "Google Sans Placeholder", sans-serif; }
@media (max-width: 1100px) { .rf-appcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rf-appcards { grid-template-columns: 1fr; } }

/* What talks to what: the same card look as the big-app cards. */
.rf-wrap--links { border-top: 1px solid rgba(0, 0, 0, 0.06); }
.rf-map { display: flex; flex-direction: column; gap: 24px; }
.rf-pick-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; color: #14181f; font: 500 15px/1 "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-pick { width: 300px; max-width: 100%; height: 48px; padding: 0 44px 0 18px; border-radius: 100px; border: 1px solid rgba(0, 0, 0, 0.1); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2314181f' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; color: #14181f; font: 500 16px/1 "Google Sans", "Google Sans Placeholder", sans-serif; appearance: none; -webkit-appearance: none; cursor: pointer; }
.rf-pick:focus { outline: none; border-color: #14181f; }
.rf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rf-link { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); font-family: "Google Sans", "Google Sans Placeholder", sans-serif; }
.rf-link__top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.rf-link__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #ebedef; color: #14181f; }
.rf-link__ic svg { width: 20px; height: 20px; }
.rf-link__arrow { color: #d9530f; font: 600 18px/1 "Google Sans", sans-serif; }
.rf-link__kind { margin-left: auto; color: #6c727f; font-size: 13px; }
.rf-link__title { margin: 0; color: #14181f; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.rf-dir { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.rf-dir p { margin: 0; }
.rf-dir__label { color: #6c727f; font-size: 14px; font-weight: 500; }
.rf-dir__text { color: #14181f; font-size: 15px; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1100px) { .rf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 809px) {
  .rf-links { grid-template-columns: 1fr; }
  .rf-pick-wrap { flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
  .rf-pick { width: 100%; }
}
