:root {
  --rust: #ad473c;
  --pop-apricot: #faeccb;
  --pop-peach: #f8e4de;
  --pop-leaf: #edf2e6;
}

.hero .hero-intro {
  max-inline-size: min(54vw, 330px);
  text-wrap: pretty;
}

.hero-consult-note {
  display: inline-block;
  margin-top: .35em;
}

.hero-plan-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
  padding: 0;
  background: transparent;
}

.hero-plan-choice {
  grid-template-areas: "name" "price" "detail";
  align-content: start;
  gap: 4px;
  padding: 10px;
  border: 1px solid #e7cfc6;
  border-radius: 12px;
  background: var(--pop-peach);
  font-family: var(--gothic);
  text-align: left;
}

.hero-plan-choice + .hero-plan-choice {
  border-inline-start-color: #e7cfc6;
}

.hero-plan-choice[href="#plan-basic"] {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name price" "detail price" "status status";
  align-items: center;
  column-gap: 12px;
  border-color: #e6c8a6;
  background: var(--pop-apricot);
}

.hero-plan-choice[href="#plan-personal"] {
  border-color: #d6e0ce;
  background: var(--pop-leaf);
}

.hero-plan-name {
  grid-area: name;
  font-size: clamp(12px, 3.15vw, 16px);
  color: var(--ink);
}

.hero-plan-price {
  grid-area: price;
  color: #843c33;
  font-size: 12px;
}

.hero-plan-price strong {
  font-size: clamp(19px, 5.3vw, 27px);
}

.hero-plan-choice[href="#plan-basic"] .hero-plan-price strong {
  font-size: clamp(29px, 8.1vw, 40px);
}

.hero-plan-detail {
  grid-area: detail;
  font-size: 12px;
  line-height: 1.45;
}

.hero-plan-choice[href="#plan-basic"] .hero-plan-detail br {
  display: none;
}

.hero-plan-choice .basic-price-status {
  grid-area: status;
  justify-self: start;
  padding: 2px 6px;
  background: #fffaf0;
  color: #783d2a;
  font-size: 11px;
}

.hero-topics {
  margin-top: 14px;
}

.hero-topics button,
.reply-tabs a {
  min-height: 44px;
  border-radius: 12px;
}

.hero-examples {
  margin-top: 12px;
}

.hero-example {
  background: #fff6e4;
  border: 1px solid #ead8ba;
  border-radius: 14px;
}

.hero .actions {
  margin-top: 12px;
}

.hero .actions #hero-reply-link {
  border-radius: 14px;
  font-family: var(--gothic);
  font-size: clamp(14px, 3.9vw, 21px);
  letter-spacing: 0;
  min-height: 48px;
}

#plans .plans > li {
  border: 1px solid #e6d9cb;
  border-radius: 16px;
}

#plans .plan-facts > div {
  border-top: 1px solid rgb(88 61 51 / 15%);
}

#plans .plan-facts dt {
  color: #63435d;
}

@media (min-width: 600px) {
  .hero-plan-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-plan-choice {
    padding: 12px 14px;
  }

  .hero-plan-choice[href="#plan-basic"] {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-areas: "name" "price" "detail" "status";
  }

  .hero-plan-choice[href="#plan-basic"] .hero-plan-price strong {
    font-size: clamp(19px, 5.3vw, 27px);
  }
}

@media (min-width: 840px) {
  #plans .plans {
    grid-template-rows: auto auto repeat(3, auto);
    row-gap: 0;
  }

  #plans .plans > li {
    grid-row: span 5;
    grid-template-rows: subgrid;
  }

  #plans .plan-facts {
    display: grid;
    grid-row: 3 / span 3;
    grid-template-rows: subgrid;
    align-self: stretch;
  }

  #plans .plan-facts > div {
    min-height: 0;
    padding-block: 9px;
  }
}

.hero .hero-plan-choice .basic-price-status {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  white-space: nowrap;
}

.hero .hero-plan-choice .basic-price-status .status-separator {
  display: inline;
}

#benefits .daily .daily-screen {
  max-width: 300px;
  height: auto;
  border: 1px solid #e6d9cb;
  border-radius: 12px;
}
