.oneplugin {
  border-top: 1px solid #e6efe9;
  background: linear-gradient(180deg, #ffffff, #f4faf6);
}

.oneplugin__wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1152px;
  width: 100%;
  min-width: 0;
}

.oneplugin__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 822px;
  text-align: center;
}

.oneplugin__title {
  margin: 0;
}

.oneplugin__lead {
  margin: 0;
  color: #151515;
  font-size: 22px;
  line-height: 1.5;
}

.oneplugin__main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.oneplugin__switch {
  display: flex;
  justify-content: center;
}

.oneplugin__switch[hidden] {
  display: none;
}

.oneplugin-picker {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid #ddede3;
  border-radius: 999px;
  background-color: var(--opt-white);
  box-shadow: 0 12px 30px -20px rgba(0, 60, 30, 0.35);
}

.oneplugin-picker__label {
  align-self: center;
  padding: 0 12px 0 10px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--opt-muted-strong);
}

.oneplugin-picker__opt {
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background-color: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: #3d4440;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.oneplugin-picker__opt:hover {
  background-color: #f3faf6;
  color: var(--opt-green);
}

.oneplugin-picker__opt.is-active,
.oneplugin-picker__opt.is-active:hover {
  background-color: var(--opt-green);
  font-weight: 700;
  color: var(--opt-white);
}

.oneplugin__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: stretch;
}

.oneplugin-cost {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 34px;
  border: 1px solid #ddede3;
  border-radius: 28px;
  background-color: var(--opt-white);
  box-shadow: 0 30px 60px -48px rgba(0, 60, 30, 0.4);
}

.oneplugin-cost__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.oneplugin-cost__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--opt-ink);
}

.oneplugin-cost__sub {
  font-size: 12.5px;
  color: var(--opt-muted);
}

.oneplugin-bar__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.oneplugin-bar__name {
  font-size: 15px;
  font-weight: 600;
  color: #3d4440;
}

.oneplugin-bar__price {
  font-size: 17px;
  font-weight: 800;
  color: var(--opt-ink);
}

.oneplugin-bar__track {
  height: 14px;
  overflow: hidden;
  border-radius: 99px;
  background-color: var(--opt-line-soft);
}

.oneplugin-bar__fill {
  height: 100%;
  border-radius: 99px;
  background-color: #c9d6ce;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.oneplugin-bar--ours .oneplugin-bar__name {
  font-weight: 800;
  color: var(--opt-green);
}

.oneplugin-bar--ours .oneplugin-bar__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--opt-green);
}

.oneplugin-bar--ours .oneplugin-bar__track {
  height: 18px;
}

.oneplugin-bar--ours .oneplugin-bar__fill {
  background: linear-gradient(90deg, #008744, #2fb36b);
}

.oneplugin-bar__fill--flying {
  width: 99%;
}

.oneplugin-bar__fill--rocket {
  width: 100%;
}

.oneplugin-bar__fill--ours {
  width: 55%;
}

.oneplugin[data-sites="3"] .oneplugin-bar__fill--flying {
  width: 94%;
}

.oneplugin[data-sites="3"] .oneplugin-bar__fill--ours {
  width: 72%;
}

.oneplugin[data-sites="100"] .oneplugin-bar__fill--flying {
  width: 77%;
}

.oneplugin[data-sites="100"] .oneplugin-bar__fill--ours {
  width: 57%;
}

.oneplugin-cost__bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.oneplugin-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oneplugin-cost__foot {
  margin: 0;
  font-size: 13.5px;
  color: #3e4943;
}

.oneplugin-save {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 34px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(0, 135, 68, 0.55), transparent 65%),
    #0c1611;
  color: var(--opt-white);
}

.oneplugin-save__top {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.oneplugin-save__intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.oneplugin-save__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.oneplugin-save__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background-color: rgba(127, 211, 164, 0.12);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7fd3a4;
}

.oneplugin-save__ask {
  margin: 0;
  font-size: 16px;
  color: #b9c7bf;
}

.oneplugin-save__amount {
  margin: 0;
  font-size: 84px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #7fd3a4;
}

.oneplugin-save__per {
  margin: 0;
  font-size: 16px;
  color: #d5e0d9;
}

.oneplugin-save__rows {
  display: grid;
  gap: 10px;
}

.oneplugin-save__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 15px;
}

.oneplugin-save__row-label {
  color: #b9c7bf;
}

.oneplugin-save__old {
  white-space: nowrap;
  text-decoration: line-through;
  text-decoration-color: #e2685a;
}

.oneplugin-save__new {
  font-weight: 800;
  color: #7fd3a4;
}

.oneplugin-save .button {
  align-self: flex-start;
}

.oneplugin-brands {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid #e6efe9;
}

.oneplugin-brands__title {
  flex: 0 0 auto;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--opt-green);
}

.oneplugin-brands__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.oneplugin-brands__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: oneplugin-marquee 28s linear infinite;
}

.oneplugin-brands__set {
  display: contents;
}

.oneplugin-brands__logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 44px;
}

@keyframes oneplugin-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1199.98px) {
  .oneplugin-save__amount {
    font-size: 72px;
  }
}

@media (max-width: 991.98px) {
  .oneplugin-save__amount {
    font-size: 64px;
  }
}

@media (max-width: 767.98px) {
  .oneplugin-save__amount {
    font-size: 56px;
  }
}

@media (max-width: 745.98px) {
  .oneplugin__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .oneplugin-picker {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

  .oneplugin-picker__label {
    width: 100%;
    padding: 8px 0 2px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oneplugin-bar__fill {
    transition: none;
  }

  .oneplugin-brands__track {
    animation: none;
  }
}

/* Tablet and phone: the same section, with the inside of every block set to the width it
   actually gets. The desktop paddings (34px), the 22px lead and a title row that keeps its
   side-by-side layout were built for 1152px; here the blocks lose 6px of padding each side,
   the lead steps down with the shared body text, and the title row of the cost card wraps its
   small caption underneath instead of squeezing it into three short lines. */
@media (max-width: 991.98px) {
  .oneplugin__lead {
    font-size: 20px;
  }

  .oneplugin-cost,
  .oneplugin-save {
    padding: 28px;
    border-radius: 24px;
  }

  .oneplugin-cost__head {
    flex-wrap: wrap;
    row-gap: 2px;
  }
}

/* Phones. The picker keeps its pill with the label on top, but the three options share the
   width equally in one row (they used to wrap onto two rows at 320px); the cards, the bars and
   the brand strip follow one smaller rhythm; the family-brand strip stacks, because the title
   and the moving logos side by side left the logos about 140px of room. */
@media (max-width: 575.98px) {
  .oneplugin__wrap {
    gap: 32px;
  }

  .oneplugin__head {
    gap: 16px;
  }

  .oneplugin__lead {
    font-size: 17px;
    line-height: 1.55;
  }

  .oneplugin__main {
    gap: 24px;
  }

  .oneplugin-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    padding: 6px;
    border-radius: 26px;
  }

  .oneplugin-picker__label {
    grid-column: 1 / -1;
    padding: 8px 0 4px;
  }

  .oneplugin-picker__opt {
    min-width: 0;
    padding: 11px 6px;
    font-size: 14px;
  }

  .oneplugin__cards {
    gap: 16px;
  }

  .oneplugin-cost,
  .oneplugin-save {
    padding: 22px;
    border-radius: 22px;
  }

  .oneplugin-cost {
    gap: 22px;
  }

  .oneplugin-cost__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .oneplugin-cost__bars {
    gap: 22px;
  }

  .oneplugin-bar__name {
    font-size: 14px;
  }

  .oneplugin-bar__price {
    font-size: 16px;
  }

  .oneplugin-bar--ours .oneplugin-bar__price {
    font-size: 20px;
  }

  .oneplugin-save {
    gap: 24px;
  }

  .oneplugin-save__top {
    gap: 22px;
  }

  .oneplugin-save__intro {
    gap: 18px;
  }

  .oneplugin-save__amount {
    font-size: 52px;
  }

  .oneplugin-save__row {
    font-size: 14px;
  }

  .oneplugin-brands {
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
  }

  .oneplugin-brands__title {
    font-size: 18px;
  }

  .oneplugin-brands__viewport {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 379.98px) {

  .oneplugin-cost,
  .oneplugin-save {
    padding: 20px;
  }

  .oneplugin-bar__name {
    font-size: 13.5px;
  }

  .oneplugin-save__amount {
    font-size: 46px;
  }
}