.hero-plan-context {
  display: grid;
  gap: 8px;
  margin: 7px var(--edge) 4px;
  color: #5f5143;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.4;
}

.hero-current-link {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 4px 11px;
  border: 1px solid #bfccb7;
  border-radius: 8px;
  background: #edf1e7;
  color: #314936;
  text-decoration: none;
}

.hero-current-link strong {
  font-size: .93rem;
  font-variant-numeric: tabular-nums;
}

.hero-current-link small {
  font-size: .73rem;
  font-weight: 650;
}

.hero-current-link > span:last-child {
  justify-self: end;
}

.hero-current-link:focus-visible {
  outline: 2px solid #365441;
  outline-offset: 3px;
}

.hero-revision-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-inline: 2px;
}

.hero-revision-label small {
  font-size: .74rem;
}

@media (max-width: 599px) {
  .hero-plan-choice[href="#plan-basic"] {
    grid-template-areas: "status price" "name price" "detail price";
  }
}

.hero .hero-plan-context + .hero-plan-choices {
  margin-top: 0;
}

.plan-current-link {
  margin: 4px 11px 0;
}

.plan-current-link a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .4em;
  color: #694132;
  font-size: .85rem;
  text-underline-offset: .18em;
}

#start .current-plan-list {
  grid-template-columns: 1fr;
  margin-block: 8px;
  text-align: start;
}

#start .current-plan-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 12px;
  align-items: baseline;
  padding: 7px 11px;
  scroll-margin-top: 16px;
}

.current-plan-list dt {
  font-size: .975rem;
  font-weight: 700;
}

.current-plan-price {
  color: #4a3729;
  font-size: 1rem;
  white-space: nowrap;
}

#start .current-plan-detail {
  grid-column: 1 / -1;
  color: #4e4a3f;
  font-size: .84rem;
  font-weight: 400;
}

#start .current-plan-list > :target {
  border-color: #9a7548;
  box-shadow: inset 3px 0 #9a7548;
}

.current-plan-note {
  color: #4e4a3f;
  font-size: .8rem;
  line-height: 1.5;
}

.signup-actions {
  display: grid;
  gap: 5px;
}

.signup-actions .signup-line-note {
  margin-block: 0;
  text-align: center;
}

.signup-line-contact {
  margin-top: 13px;
  border-block: 1px solid #d2dac9;
  padding: 8px 4px 4px;
  text-align: center;
}

.signup-line-contact p {
  font-size: .85rem;
}

.signup-line-contact a {
  min-height: 44px;
  color: #3d5943;
  justify-content: center;
  gap: .65em;
  margin-block: 3px 5px;
  padding-inline: 16px;
  border: 1px solid #99ac97;
  border-radius: 8px;
  background-color: #f1f4eb;
  text-decoration: none;
}

:is(.signup-line-contact a, .floating-line):focus-visible {
  outline: 2px solid #365441;
  outline-offset: 3px;
}

html {
  scroll-padding-block-end: calc(64px + env(safe-area-inset-bottom));
}

body > footer {
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.floating-line {
  position: fixed;
  z-index: 5;
  inset-inline-end: calc(14px + env(safe-area-inset-right));
  inset-block-end: calc(12px + env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .55em;
  padding: 0 14px;
  border: 1px solid #d7dfcf;
  border-radius: 24px;
  background: #365441;
  color: #fffdf5;
  box-shadow: 0 2px 8px rgb(48 45 34 / 16%);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.floating-line-purpose {
  padding-inline-start: .55em;
  border-inline-start: 1px solid rgb(255 253 245 / 35%);
  font-size: .75rem;
  font-weight: 600;
}

.floating-line[data-obscured] {
  visibility: hidden;
}
